================
@@ -59,6 +59,7 @@ static bool replaceCBufferAccesses(Module &M) {
     for (const hlsl::CBufferMember &Member : Mapping.Members)
       replaceUsersOfGlobal(Member.GV, Mapping.Handle, Member.Offset);
 
+  CBufMD->removeCBufferGlobalsFromUseList(M);
----------------
hekota wrote:

Oh I see :) I'll try that.


https://github.com/llvm/llvm-project/pull/202745
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to