[llvm-branch-commits] [clang] [llvm] [HLSL] Add resource constructor with implicit binding for global resources (PR #138976)

Helena Kotas via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed May 7 15:00:18 PDT 2025


================
@@ -21,7 +21,7 @@ void InitBuf(RWBuffer<int> buf) {
 // CHECK-NEXT: br i1 [[Tmp3]]
 // CHECK-NOT: _Init_thread_header
 // CHECK: init.check:
-// CHECK-NEXT: call void @_ZN4hlsl8RWBufferIiEC1Ev
+// CHECK-NEXT: call void @_ZN4hlsl8RWBufferIiEC1Ejijj
----------------
hekota wrote:

Same as above - updates the RWBuffer init from the default constructor to the constructor with implicit binding.

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


More information about the llvm-branch-commits mailing list