[llvm] [NFC] [DirectX] Update DirectX codegen test `CBufferAccess/gep-ce-two-uses.ll` due to changes to ReplaceConstant (PR #169848)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 27 12:30:27 PST 2025
================
@@ -21,6 +21,22 @@ entry:
%a1 = load float, ptr addrspace(2) getelementptr inbounds nuw (i8, ptr addrspace(2) @a1, i32 16), align 4
store float %a1, ptr %dst, align 32
+ %a2 = load float, ptr addrspace(2) getelementptr inbounds nuw (i8, ptr addrspace(2) @a1, i32 16), align 4
+ store float %a2, ptr %dst, align 32
----------------
bogner wrote:
Should probably add checks for the two stores to show that they're reusing the same GEP
https://github.com/llvm/llvm-project/pull/169848
More information about the llvm-commits
mailing list