projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
546b027
)
Add testcase for the not (setcc A, B) case
author
Chris Lattner
<sabre@nondot.org>
Wed, 21 Aug 2002 17:11:18 +0000
(17:11 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 21 Aug 2002 17:11:18 +0000
(17:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3418
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/not.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/not.ll
b/test/Transforms/InstCombine/not.ll
index 870e195add21b3af13a2acfe7f8818f12b208486..8bc858664999f3ddd0a1c88acccbe1ac9bdcbe5f 100644
(file)
--- a/
test/Transforms/InstCombine/not.ll
+++ b/
test/Transforms/InstCombine/not.ll
@@
-14,3
+14,8
@@
int %test1(int %A) {
ret int %C
}
+bool %test2(int %A, int %B) {
+ %cond = setle int %A, %B ; Can change into setge
+ %Ret = xor bool %cond, true
+ ret bool %Ret
+}