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:
e853548
)
Add some more features that we could instcombine away
author
Chris Lattner
<sabre@nondot.org>
Sat, 3 Aug 2002 20:24:58 +0000
(20:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 3 Aug 2002 20:24:58 +0000
(20:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3239
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/set.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/set.ll
b/test/Transforms/InstCombine/set.ll
index 03c7e790db40a22a6194a24c9ad8258729d7b188..e7057bd444f2e40c62e625dc4c4e7af9094e13ff 100644
(file)
--- a/
test/Transforms/InstCombine/set.ll
+++ b/
test/Transforms/InstCombine/set.ll
@@
-41,3
+41,13
@@
bool "test6"(int %A) {
%B = setge int %A, %A
ret bool %B
}
+
+bool "test7"(uint %A) {
+ %B = setge uint %A, 0 ; true
+ ret bool %B
+}
+
+bool "test8"(uint %A) {
+ %B = setlt uint %A, 0 ; false
+ ret bool %B
+}