[llvm] SimplifyLibCalls: Use the correct address space when computing integer widths. (PR #118586)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 09:08:01 PST 2024
================
@@ -16,7 +16,7 @@ define arm_aapcscc void @test_simplify1() {
call arm_aapcscc ptr @strcpy(ptr @a, ptr @hello)
-; CHECK: @llvm.memcpy.p0.p0.i32
+; CHECK: @llvm.memcpy.p0.p0.i64
----------------
nikic wrote:
I'm a bit confused by these changes -- this test uses a `p:32:32` data layout, so wasn't the previous `i32` overload the correct one?
https://github.com/llvm/llvm-project/pull/118586
More information about the llvm-commits
mailing list