[llvm] r359549 - Update checks in an instcombine test, NFC
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 03:56:33 PDT 2019
Author: jmorse
Date: Tue Apr 30 03:56:33 2019
New Revision: 359549
URL: http://llvm.org/viewvc/llvm-project?rev=359549&view=rev
Log:
Update checks in an instcombine test, NFC
This reduces the delta in some incoming work that changes this test.
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=359549&r1=359548&r2=359549&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/sub.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/sub.ll Tue Apr 30 03:56:33 2019
@@ -843,8 +843,8 @@ define i32 @test45commuted(i32 %x, i32 %
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
More information about the llvm-commits
mailing list