[clang] [llvm] [InstCombine] remove dead loads, such as memcpy from undef (PR #143958)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 12 13:24:55 PDT 2025
================
@@ -112,11 +112,7 @@ declare i1 @fn5(ptr byval({ i32, i32 }) align 4 %r)
define i1 @test5() {
; CHECK-LABEL: define i1 @test5() {
-; CHECK-NEXT: [[TMP1:%.*]] = alloca { i32, i32 }, align 4
----------------
nikic wrote:
Should replace this alloca with an argument to retain test behavior, probably.
https://github.com/llvm/llvm-project/pull/143958
More information about the llvm-commits
mailing list