We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c53bfc commit 2b42c6cCopy full SHA for 2b42c6c
llvm/test/CodeGen/DirectX/CBufferAccess/unused.ll
@@ -2,7 +2,7 @@
2
; Check that we correctly ignore cbuffers that were nulled out by optimizations.
3
4
%__cblayout_CB = type <{ float }>
5
-@CB.cb = local_unnamed_addr global target("dx.CBuffer", %__cblayout_CB) poison
+@CB.cb = local_unnamed_addr global target("dx.CBuffer", target("dx.Layout", %__cblayout_CB, 4, 0)) poison
6
@x = external local_unnamed_addr addrspace(2) global float, align 4
7
8
; CHECK-NOT: !hlsl.cbs =
0 commit comments