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:
ecd9653
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Sun, 12 Feb 2006 02:06:31 +0000
(
02:06
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 12 Feb 2006 02:06:31 +0000
(
02:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26130
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 56b995e9055c957f5f853fe7b972b98131e813e7..1e07083e507bc3c84f0b7e3be02db9f92988c177 100644
(file)
--- a/
test/Transforms/InstCombine/set.ll
+++ b/
test/Transforms/InstCombine/set.ll
@@
-1,6
+1,6
@@
; This test makes sure that these instructions are properly eliminated.
;
-
+; RUN: llvm-as < %s | opt -instcombine -disable-output &&
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep set
%X = uninitialized global int
@@
-121,3
+121,11
@@
int %test21(int %a) {
ret int %retval
}
+bool %test22(uint %A, int %X) {
+ %B = and uint %A, 100663295
+ %C = setlt uint %B, 268435456
+ %Y = and int %X, 7
+ %Z = setgt int %Y, -1
+ %R = or bool %C, %Z
+ ret bool %R
+}