]> granicus.if.org Git - llvm/commitdiff
Update checks in an instcombine test, NFC
authorJeremy Morse <jeremy.morse.llvm@gmail.com>
Tue, 30 Apr 2019 10:56:33 +0000 (10:56 +0000)
committerJeremy Morse <jeremy.morse.llvm@gmail.com>
Tue, 30 Apr 2019 10:56:33 +0000 (10:56 +0000)
This reduces the delta in some incoming work that changes this test.

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

test/Transforms/InstCombine/sub.ll

index 6e1f34868f2cc4e67c321c40581de65c29516661..9e1172d4aa4277eb4c05b9a48967065072ed8548 100644 (file)
@@ -843,8 +843,8 @@ define i32 @test45commuted(i32 %x, i32 %y) {
 
 define i32 @test46(i32 %x, i32 %y) {
 ; CHECK-LABEL: @test46(
-; CHECK-NEXT:    [[X_NOT:%.*]] = xor i32 [[X:%.*]], -1
-; CHECK-NEXT:    [[SUB:%.*]] = and i32 [[X_NOT]], [[Y:%.*]]
+; CHECK-NEXT:    [[TMP1:%.*]] = xor i32 [[X:%.*]], -1
+; CHECK-NEXT:    [[SUB:%.*]] = and i32 [[TMP1]], [[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:    [[X_NOT:%.*]] = xor i32 [[X:%.*]], -1
-; CHECK-NEXT:    [[SUB:%.*]] = and i32 [[X_NOT]], [[Y:%.*]]
+; CHECK-NEXT:    [[TMP1:%.*]] = xor i32 [[X:%.*]], -1
+; CHECK-NEXT:    [[SUB:%.*]] = and i32 [[TMP1]], [[Y:%.*]]
 ; CHECK-NEXT:    ret i32 [[SUB]]
 ;
   %or = or i32 %y, %x