[PATCH] D112717: [IR] Replace *all* uses of a constant expression by corresponding instruction
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 29 13:42:14 PDT 2021
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/lower-kernel-lds-constexpr.ll:129
+;
+ call void undef(i32 ptrtoint (i32* addrspacecast (i32 addrspace(3)* getelementptr inbounds ([4 x i32], [4 x i32] addrspace(3)* @lds.5, i32 0, i32 2) to i32*) to i32), i64 ptrtoint (i32* addrspacecast (i32 addrspace(3)* getelementptr inbounds ([4 x i32], [4 x i32] addrspace(3)* @lds.5, i32 0, i32 2) to i32*) to i64))
+ ret void
----------------
A more meaningful test that we can really codegen would be more helpful. Also this testcase could use a comment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112717/new/
https://reviews.llvm.org/D112717
More information about the llvm-commits
mailing list