diff options
Diffstat (limited to 'test/CodeGen/AArch64/eliminate-trunc.ll')
-rw-r--r-- | test/CodeGen/AArch64/eliminate-trunc.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/AArch64/eliminate-trunc.ll b/test/CodeGen/AArch64/eliminate-trunc.ll index bc4ac7d71704..83730d15d7f5 100644 --- a/test/CodeGen/AArch64/eliminate-trunc.ll +++ b/test/CodeGen/AArch64/eliminate-trunc.ll @@ -6,7 +6,7 @@ ; CHECK-NOT: add {{x[0-9]+}}, {{x[0-9]+}}, #1 ; CHECK: add {{w[0-9]+}}, {{w[0-9]+}}, #1 ; CHECK-NEXT: cmp {{w[0-9]+}}, {{w[0-9]+}} -define void @test1_signed([8 x i8]* nocapture %a, i8* nocapture readonly %box, i8 %limit) minsize { +define void @test1_signed([8 x i8]* nocapture %a, i8* nocapture readonly %box, i8 %limit, i64 %inv) minsize { entry: %conv = zext i8 %limit to i32 %cmp223 = icmp eq i8 %limit, 0 @@ -14,7 +14,7 @@ entry: for.body4.us: %indvars.iv = phi i64 [ 0, %for.body4.lr.ph.us ], [ %indvars.iv.next, %for.body4.us ] - %arrayidx6.us = getelementptr inbounds [8 x i8], [8 x i8]* %a, i64 %indvars.iv26, i64 %indvars.iv + %arrayidx6.us = getelementptr inbounds [8 x i8], [8 x i8]* %a, i64 %indvars.iv, i64 %inv %0 = load i8, i8* %arrayidx6.us, align 1 %idxprom7.us = zext i8 %0 to i64 %arrayidx8.us = getelementptr inbounds i8, i8* %box, i64 %idxprom7.us |