[llvm] 17a15c3 - [NFCI][LoopUnroll] s/%tmp/%i/ in one test to silence update script warning
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 3 14:40:06 PDT 2020
Author: Roman Lebedev
Date: 2020-07-04T00:39:36+03:00
New Revision: 17a15c32aff0cac82e3f45eaaaff7084810abd5e
URL: https://github.com/llvm/llvm-project/commit/17a15c32aff0cac82e3f45eaaaff7084810abd5e
DIFF: https://github.com/llvm/llvm-project/commit/17a15c32aff0cac82e3f45eaaaff7084810abd5e.diff
LOG: [NFCI][LoopUnroll] s/%tmp/%i/ in one test to silence update script warning
Added:
Modified:
llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll b/llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
index f905355f1a8a..75bad6813b0e 100644
--- a/llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
+++ b/llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll
@@ -375,15 +375,15 @@ define void @unique_exit(i32 %arg) {
; PROLOG-NOT: .unr
; PROLOG-NOT: .prol
entry:
- %tmp = icmp sgt i32 undef, %arg
- br i1 %tmp, label %preheader, label %returnblock
+ %i = icmp sgt i32 undef, %arg
+ br i1 %i, label %preheader, label %returnblock
preheader: ; preds = %entry
br label %header
header: ; preds = %preheader, %latch
- %tmp4 = phi i32 [ %inc, %latch ], [ %arg, %preheader ]
- %inc = add nsw i32 %tmp4, 1
+ %i4 = phi i32 [ %inc, %latch ], [ %arg, %preheader ]
+ %inc = add nsw i32 %i4, 1
br i1 true, label %latchExit, label %latch
latch: ; preds = %header
@@ -391,11 +391,11 @@ latch: ; preds = %header
br i1 %cmp, label %header, label %latchExit
latchExit: ; preds = %header, %latch
- %tmp2.ph = phi i32 [ %tmp4, %header ], [ -1, %latch ]
+ %i2.ph = phi i32 [ %i4, %header ], [ -1, %latch ]
br label %returnblock
returnblock: ; preds = %latchExit, %entry
- %tmp2 = phi i32 [ -1, %entry ], [ %tmp2.ph, %latchExit ]
+ %i2 = phi i32 [ -1, %entry ], [ %i2.ph, %latchExit ]
ret void
}
@@ -531,22 +531,22 @@ define i32 @test7(i32 %arg, i32 %arg1, i32 %arg2) {
; EPILOG-NO-IC: loopexit1:
; EPILOG-NO-IC-NEXT: %sext3 = phi i32 [ %sext3.ph, %loopexit1.loopexit ], [ %sext3.ph2, %loopexit1.loopexit1 ]
bb:
- %tmp = icmp slt i32 undef, 2
+ %i = icmp slt i32 undef, 2
%sext = sext i32 undef to i64
%shft = ashr exact i32 %arg, 16
- br i1 %tmp, label %loopexit2, label %preheader
+ br i1 %i, label %loopexit2, label %preheader
preheader: ; preds = %bb2
br label %header
header: ; preds = %latch, %preheader
- %tmp6 = phi i64 [ 1, %preheader ], [ %add, %latch ]
+ %i6 = phi i64 [ 1, %preheader ], [ %add, %latch ]
br i1 false, label %loopexit1, label %latch
latch: ; preds = %header
- %add = add nuw nsw i64 %tmp6, 1
- %tmp9 = icmp slt i64 %add, %sext
- br i1 %tmp9, label %header, label %latchexit
+ %add = add nuw nsw i64 %i6, 1
+ %i9 = icmp slt i64 %add, %sext
+ br i1 %i9, label %header, label %latchexit
latchexit: ; preds = %latch
unreachable
@@ -580,24 +580,24 @@ define void @test8() {
; PROLOG: latch.6:
; PROLOG-NEXT: br i1 false, label %outerloop.loopexit.loopexit, label %latch.7
; PROLOG: latch.7:
-; PROLOG-NEXT: %tmp4.7 = add nuw nsw i64 %tmp3, 8
-; PROLOG-NEXT: %tmp6.7 = icmp ult i64 %tmp3, 92
-; PROLOG-NEXT: br i1 %tmp6.7, label %innerH, label %exit.unr-lcssa
+; PROLOG-NEXT: %i4.7 = add nuw nsw i64 %i3, 8
+; PROLOG-NEXT: %i6.7 = icmp ult i64 %i3, 92
+; PROLOG-NEXT: br i1 %i6.7, label %innerH, label %exit.unr-lcssa
bb:
br label %outerloop
outerloop: ; preds = %innerH, %bb
- %tmp = phi i64 [ 3, %bb ], [ 0, %innerH ]
+ %i = phi i64 [ 3, %bb ], [ 0, %innerH ]
br label %innerH
innerH: ; preds = %latch, %outerloop
- %tmp3 = phi i64 [ %tmp4, %latch ], [ %tmp, %outerloop ]
- %tmp4 = add nuw nsw i64 %tmp3, 1
+ %i3 = phi i64 [ %i4, %latch ], [ %i, %outerloop ]
+ %i4 = add nuw nsw i64 %i3, 1
br i1 false, label %outerloop, label %latch
latch: ; preds = %innerH
- %tmp6 = icmp ult i64 %tmp4, 100
- br i1 %tmp6, label %innerH, label %exit
+ %i6 = icmp ult i64 %i4, 100
+ br i1 %i6, label %innerH, label %exit
exit: ; preds = %latch
ret void
@@ -623,21 +623,21 @@ outerloopHdr: ; preds = %outerLatch
br i1 %outercnd, label %preheader, label %outerLatch
preheader: ; preds = %outerloopHdr
- %tmp4 = zext i32 0 to i64
+ %i4 = zext i32 0 to i64
br label %header
header: ; preds = %latch, %preheader
- %phi = phi i64 [ %tmp4, %preheader ], [ %iv.next, %latch ]
- %tmp7 = trunc i64 %phi to i32
+ %phi = phi i64 [ %i4, %preheader ], [ %iv.next, %latch ]
+ %i7 = trunc i64 %phi to i32
br i1 true, label %latch, label %innerexit
innerexit: ; preds = %header
- %tmp9 = call i8 addrspace(1)* @foo(i32 %trip)
- ret i8 addrspace(1)* %tmp9
+ %i9 = call i8 addrspace(1)* @foo(i32 %trip)
+ ret i8 addrspace(1)* %i9
latch: ; preds = %header
- %tmp11 = add nsw i32 %tmp7, 1
- %innercnd = icmp slt i32 %tmp11, %trip
+ %i11 = add nsw i32 %i7, 1
+ %innercnd = icmp slt i32 %i11, %trip
%iv.next = add nuw nsw i64 %phi, 1
br i1 %innercnd, label %header, label %outerLatch
More information about the llvm-commits
mailing list