[clang] [HLSL] Do not remove `HLSLVkBindingAttr` if the target is not SPIR-V (PR #161752)
Steven Perron via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 3 06:35:14 PDT 2025
================
@@ -10,8 +10,7 @@
// SPV-NEXT: IntegerLiteral {{.*}} 'unsigned int' 102
// DXIL-NEXT: IntegerLiteral {{.*}} 'unsigned int' 0
// DXIL-NEXT: IntegerLiteral {{.*}} 'unsigned int' 0
-// SPV: HLSLVkBindingAttr {{.*}} 23 102
-// DXIL-NOT: HLSLVkBindingAttr
+// CHECK: HLSLVkBindingAttr {{.*}} 23 102
----------------
s-perron wrote:
You might want to check that there is an implicit binding attribute for DXIL.
https://github.com/llvm/llvm-project/pull/161752
More information about the cfe-commits
mailing list