From c4f0c47e68bcf61976c70ab22222ecbef065d95e Mon Sep 17 00:00:00 2001 From: David Bolvansky Date: Wed, 4 Sep 2019 12:43:14 +0000 Subject: [PATCH] [NFC] Fixed test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370888 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/sub-and-or-not-xor.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.50.1