[llvm] r359897 - Revert r359549 - incorrect update of test checks. NFC
Robert Lougher via llvm-commits
llvm-commits at lists.llvm.org
Fri May 3 08:14:20 PDT 2019
Author: rlougher
Date: Fri May 3 08:14:19 2019
New Revision: 359897
URL: http://llvm.org/viewvc/llvm-project?rev=359897&view=rev
Log:
Revert r359549 - incorrect update of test checks. NFC
Modified:
llvm/trunk/test/Transforms/InstCombine/sub.ll
Modified: llvm/trunk/test/Transforms/InstCombine/sub.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/sub.ll?rev=359897&r1=359896&r2=359897&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/sub.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/sub.ll Fri May 3 08:14:19 2019
@@ -843,8 +843,8 @@ define i32 @test45commuted(i32 %x, i32 %
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
More information about the llvm-commits
mailing list