================
@@ -1,8 +1,8 @@
-// RUN: not %clang_cc1 -x hlsl -finclude-default-header -triple
spirv-unknown-vulkan-compute %s \
-// RUN: -fclangir -emit-cir -disable-llvm-passes 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -x hlsl -finclude-default-header -triple
spirv-unknown-vulkan-compute %s \
+// RUN: -fclangir -emit-cir -disable-llvm-passes -verify
-// CHECK: ClangIR code gen Not Yet Implemented: processing of type:
ConstantMatrix
-float test_zero_indexed(float2x2 M) {
- // CHECK: ClangIR code gen Not Yet Implemented: ScalarExprEmitter: matrix
element
- return M._m00;
+// expected-error@*:* {{ClangIR code gen Not Yet Implemented: processing of
type: ConstantMatrix}}
----------------
erichkeane wrote:
This is probably not a bad change either.
https://github.com/llvm/llvm-project/pull/182817
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits