[llvm] r280679 - fix FileCheck variables for test added with r280677
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 5 16:49:32 PDT 2016
Author: spatel
Date: Mon Sep 5 18:49:32 2016
New Revision: 280679
URL: http://llvm.org/viewvc/llvm-project?rev=280679&view=rev
Log:
fix FileCheck variables for test added with r280677
The script (utils/update_test_checks.py) seems to have problems
with variable names that start with the same string.
Modified:
llvm/trunk/test/Transforms/InstCombine/icmp-div-constant.ll
Modified: llvm/trunk/test/Transforms/InstCombine/icmp-div-constant.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/icmp-div-constant.ll?rev=280679&r1=280678&r2=280679&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/icmp-div-constant.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/icmp-div-constant.ll Mon Sep 5 18:49:32 2016
@@ -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:
More information about the llvm-commits
mailing list