projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a16769
)
[InstCombine] Regenerate test checks using script. NFC
author
Craig Topper
<craig.topper@gmail.com>
Fri, 14 Apr 2017 18:42:55 +0000
(18:42 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Fri, 14 Apr 2017 18:42:55 +0000
(18:42 +0000)
llvm-svn: 300360
llvm/test/Transforms/InstCombine/sub.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Transforms/InstCombine/sub.ll
b/llvm/test/Transforms/InstCombine/sub.ll
index
4c70476
..
3b3a995
100644
(file)
--- 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) {