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:
cea6559
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Wed, 4 May 2005 19:05:02 +0000
(19:05 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 4 May 2005 19:05:02 +0000
(19:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21689
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 970fceb4cfa76b70237071b8b93ef4e68550b44f..6abf6461c1115720165584288ed8f9136f3360b5 100644
(file)
--- a/
test/Transforms/InstCombine/set.ll
+++ b/
test/Transforms/InstCombine/set.ll
@@
-106,3
+106,10
@@
bool %test19(bool %A, bool %B) {
%C = seteq int %a, %b
ret bool %C
}
+
+uint %test20(uint %A) {
+ %B = and uint %A, 1
+ %C = setne uint %B, 0
+ %D = cast bool %C to uint
+ ret uint %D
+}