OSDN Git Service

fix FileCheck variables for test added with r280677
authorSanjay Patel <spatel@rotateright.com>
Mon, 5 Sep 2016 23:49:32 +0000 (23:49 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 5 Sep 2016 23:49:32 +0000 (23:49 +0000)
The script (utils/update_test_checks.py) seems to have problems
with variable names that start with the same string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280679 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/icmp-div-constant.ll

index 98900ef..4c0a568 100644 (file)
@@ -16,7 +16,7 @@ define i32 @icmp_div(i16 %a, i16 %c) {
 ; CHECK-NEXT:    [[PHITMP1:%.*]] = sext i1 [[NOT_CMP]] to i32
 ; CHECK-NEXT:    br label %exit
 ; CHECK:       exit:
-; CHECK-NEXT:    [[PHI:%.*]] = phi i32 [ -1, %entry ], [ [[PHI:%.*]]tmp1, %then ]
+; CHECK-NEXT:    [[PHI:%.*]] = phi i32 [ -1, %entry ], [ [[PHITMP1]], %then ]
 ; CHECK-NEXT:    ret i32 [[PHI]]
 ;
 entry:
@@ -72,7 +72,7 @@ define i32 @icmp_div3(i16 %a, i16 %c) {
 ; CHECK-NEXT:    [[PHITMP1:%.*]] = sext i1 [[NOT_CMP]] to i32
 ; CHECK-NEXT:    br label %exit
 ; CHECK:       exit:
-; CHECK-NEXT:    [[PHI:%.*]] = phi i32 [ -1, %entry ], [ [[PHI:%.*]]tmp1, %then ]
+; CHECK-NEXT:    [[PHI:%.*]] = phi i32 [ -1, %entry ], [ [[PHITMP1]], %then ]
 ; CHECK-NEXT:    ret i32 [[PHI]]
 ;
 entry: