[llvm-branch-commits] [clang] [HLSL] Rewrite HLSL alias intrinsics into TableGen (PR #188814)

Deric C. via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Mar 27 11:46:24 PDT 2026


================
@@ -5,6 +5,6 @@
 [numthreads(8,8,1)]
 void foo() {
     // expected-error@#site {{'WaveActiveCountBits' is only available on Shader Model 6.0 or newer}}
-    // expected-note at hlsl/hlsl_alias_intrinsics.h:* {{'WaveActiveCountBits' has been marked as being introduced in Shader Model 6.0 here, but the deployment target is Shader Model 5.0}}
+    // expected-note at hlsl/hlsl_alias_intrinsics_gen.inc:* {{'WaveActiveCountBits' has been marked as being introduced in Shader Model 6.0 here, but the deployment target is Shader Model 5.0}}
----------------
Icohedron wrote:

The other intrinsic sema checks ignore the file path.

https://github.com/llvm/llvm-project/pull/188814


More information about the llvm-branch-commits mailing list