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:
828eedd
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Fri, 6 May 2005 01:51:05 +0000
(
01:51
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 6 May 2005 01:51:05 +0000
(
01:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21710
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 6abf6461c1115720165584288ed8f9136f3360b5..56b995e9055c957f5f853fe7b972b98131e813e7 100644
(file)
--- a/
test/Transforms/InstCombine/set.ll
+++ b/
test/Transforms/InstCombine/set.ll
@@
-113,3
+113,11
@@
uint %test20(uint %A) {
%D = cast bool %C to uint
ret uint %D
}
+
+int %test21(int %a) {
+ %tmp.6 = and int %a, 4
+ %not.tmp.7 = setne int %tmp.6, 0
+ %retval = cast bool %not.tmp.7 to int
+ ret int %retval
+}
+