From: David Bolvansky Date: Wed, 4 Sep 2019 12:43:14 +0000 (+0000) Subject: [NFC] Fixed test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4f0c47e68bcf61976c70ab22222ecbef065d95e;p=llvm [NFC] Fixed test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370888 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/sub-and-or-not-xor.ll b/test/Transforms/InstCombine/sub-and-or-not-xor.ll index 23dcb890339..e9bdcb11727 100644 --- a/test/Transforms/InstCombine/sub-and-or-not-xor.ll +++ b/test/Transforms/InstCombine/sub-and-or-not-xor.ll @@ -91,11 +91,11 @@ define <2 x i32> @sub_to_xor_vec(<2 x i32> %x, <2 x i32> %y) { ; CHECK-LABEL: @sub_to_xor_vec( ; CHECK-NEXT: [[OR:%.*]] = or <2 x i32> [[X:%.*]], [[Y:%.*]] ; CHECK-NEXT: [[AND:%.*]] = and <2 x i32> [[Y]], [[X]] -; CHECK-NEXT: [[SUB:%.*]] = sub <2 x i32> [[OR]], [[AND]] +; CHECK-NEXT: [[SUB:%.*]] = sub <2 x i32> [[AND]], [[OR]] ; CHECK-NEXT: ret <2 x i32> [[SUB]] ; %or = or <2 x i32> %x, %y %and = and <2 x i32> %y, %x - %sub = sub <2 x i32> %or, %and + %sub = sub <2 x i32> %and, %or ret <2 x i32> %sub }