projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a test for the foldSelectICmpAndOr fix committed in r180779.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2007-12-18-AddSelCmpSub.ll
diff --git
a/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
b/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
index e44fc6f099a76e76a3ea1c5c944c4b2f6ae6fd7d..3745e872eee692ec38691ba336a3a578dd5c886d 100644
(file)
--- a/
test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
+++ b/
test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
@@
-1,4
+1,4
@@
-; RUN:
llvm-as < %s | opt -instcombine | llvm-dis | grep {add}
| count 1
+; RUN:
opt < %s -instcombine -S | grep "add"
| count 1
define i32 @foo(i32 %a) {
entry: