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:
8ee9204
)
Add another case, which occurs in em3d
author
Chris Lattner
<sabre@nondot.org>
Mon, 3 Nov 2003 03:51:26 +0000
(
03:51
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 3 Nov 2003 03:51:26 +0000
(
03:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9668
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/cast-set.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/cast-set.ll
b/test/Transforms/InstCombine/cast-set.ll
index 721faefc105e63013b6fbe2ab7cbab38fd6822d7..6ee4cd19e4fa2e359f96cefbab85ae0b84d92ae2 100644
(file)
--- a/
test/Transforms/InstCombine/cast-set.ll
+++ b/
test/Transforms/InstCombine/cast-set.ll
@@
-41,4
+41,9
@@
short %test5(short %A) {
%D = cast uint %C to short
ret short %D
}
-
+
+bool %test6(bool %A) {
+ %B = cast bool %A to int
+ %C = setne int %B, 0
+ ret bool %C
+}