summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Transforms/InstCombine/sub.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/Transforms/InstCombine/sub.ll b/llvm/test/Transforms/InstCombine/sub.ll
index 4c7047636e0..3b3a995c43d 100644
--- a/llvm/test/Transforms/InstCombine/sub.ll
+++ b/llvm/test/Transforms/InstCombine/sub.ll
@@ -868,11 +868,12 @@ define i32 @test52(i32 %X) {
}
define <2 x i1> @test53(<2 x i1> %A, <2 x i1> %B) {
+; CHECK-LABEL: @test53(
+; CHECK-NEXT: [[SUB:%.*]] = xor <2 x i1> [[A:%.*]], [[B:%.*]]
+; CHECK-NEXT: ret <2 x i1> [[SUB]]
+;
%sub = sub <2 x i1> %A, %B
ret <2 x i1> %sub
-; CHECK-LABEL: @test53(
-; CHECK-NEXT: %sub = xor <2 x i1> %A, %B
-; CHECK-NEXT: ret <2 x i1> %sub
}
define i32 @test54(i1 %C) {
OpenPOWER on IntegriCloud