[llvm] r271844 - fix checks
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 5 10:54:56 PDT 2016
Author: spatel
Date: Sun Jun 5 12:54:56 2016
New Revision: 271844
URL: http://llvm.org/viewvc/llvm-project?rev=271844&view=rev
Log:
fix checks
update_test_checks.py got confused matching the variable names.
Modified:
llvm/trunk/test/Transforms/InstCombine/set.ll
Modified: llvm/trunk/test/Transforms/InstCombine/set.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/set.ll?rev=271844&r1=271843&r2=271844&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/set.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/set.ll Sun Jun 5 12:54:56 2016
@@ -111,7 +111,7 @@ define i1 @test12(i1 %A) {
define i1 @test13(i1 %A, i1 %B) {
; CHECK-LABEL: @test13(
; CHECK-NEXT: [[CTMP:%.*]] = xor i1 %B, true
-; CHECK-NEXT: [[C:%.*]] = or i1 [[C:%.*]]tmp, %A
+; CHECK-NEXT: [[C:%.*]] = or i1 [[CTMP]], %A
; CHECK-NEXT: ret i1 [[C]]
;
%C = icmp uge i1 %A, %B
@@ -131,7 +131,7 @@ define <2 x i1> @test13vec(<2 x i1> %A,
define i1 @test14(i1 %A, i1 %B) {
; CHECK-LABEL: @test14(
; CHECK-NEXT: [[CTMP:%.*]] = xor i1 %A, %B
-; CHECK-NEXT: [[C:%.*]] = xor i1 [[C:%.*]]tmp, true
+; CHECK-NEXT: [[C:%.*]] = xor i1 [[CTMP]], true
; CHECK-NEXT: ret i1 [[C]]
;
%C = icmp eq i1 %A, %B
@@ -192,7 +192,7 @@ endif:
define i1 @test19(i1 %A, i1 %B) {
; CHECK-LABEL: @test19(
; CHECK-NEXT: [[CTMP:%.*]] = xor i1 %A, %B
-; CHECK-NEXT: [[C:%.*]] = xor i1 [[C:%.*]]tmp, true
+; CHECK-NEXT: [[C:%.*]] = xor i1 [[CTMP]], true
; CHECK-NEXT: ret i1 [[C]]
;
%a = zext i1 %A to i32
More information about the llvm-commits
mailing list