From: Robert Lougher Date: Fri, 3 May 2019 15:14:19 +0000 (+0000) Subject: Revert r359549 - incorrect update of test checks. NFC X-Git-Tag: llvmorg-10-init~6342 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e28ab93546539a2b75bd2d2956b4de6131c39189;p=platform%2Fupstream%2Fllvm.git Revert r359549 - incorrect update of test checks. NFC llvm-svn: 359897 --- diff --git a/llvm/test/Transforms/InstCombine/sub.ll b/llvm/test/Transforms/InstCombine/sub.ll index 9e1172d..6e1f348 100644 --- a/llvm/test/Transforms/InstCombine/sub.ll +++ b/llvm/test/Transforms/InstCombine/sub.ll @@ -843,8 +843,8 @@ define i32 @test45commuted(i32 %x, i32 %y) { define i32 @test46(i32 %x, i32 %y) { ; CHECK-LABEL: @test46( -; CHECK-NEXT: [[TMP1:%.*]] = xor i32 [[X:%.*]], -1 -; CHECK-NEXT: [[SUB:%.*]] = and i32 [[TMP1]], [[Y:%.*]] +; CHECK-NEXT: [[X_NOT:%.*]] = xor i32 [[X:%.*]], -1 +; CHECK-NEXT: [[SUB:%.*]] = and i32 [[X_NOT]], [[Y:%.*]] ; CHECK-NEXT: ret i32 [[SUB]] ; %or = or i32 %x, %y @@ -854,8 +854,8 @@ define i32 @test46(i32 %x, i32 %y) { define i32 @test46commuted(i32 %x, i32 %y) { ; CHECK-LABEL: @test46commuted( -; CHECK-NEXT: [[TMP1:%.*]] = xor i32 [[X:%.*]], -1 -; CHECK-NEXT: [[SUB:%.*]] = and i32 [[TMP1]], [[Y:%.*]] +; CHECK-NEXT: [[X_NOT:%.*]] = xor i32 [[X:%.*]], -1 +; CHECK-NEXT: [[SUB:%.*]] = and i32 [[X_NOT]], [[Y:%.*]] ; CHECK-NEXT: ret i32 [[SUB]] ; %or = or i32 %y, %x