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:
8186a94
)
Yet another testcase
author
Chris Lattner
<sabre@nondot.org>
Mon, 23 Jun 2003 21:49:25 +0000
(21:49 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 23 Jun 2003 21:49:25 +0000
(21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6871
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/cast.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/cast.ll
b/test/Transforms/InstCombine/cast.ll
index 2ef6240a757c569674f85d9bf3e1c58ec5d611ed..829d127ff0fe841973f8ca37c44d135900116d4d 100644
(file)
--- a/
test/Transforms/InstCombine/cast.ll
+++ b/
test/Transforms/InstCombine/cast.ll
@@
-81,3
+81,9
@@
bool %test12(ubyte %A) {
ret bool %C
}
+bool %test13(ubyte %A, ubyte %b) {
+ %B = add ubyte %A, %b
+ %C = cast ubyte %B to bool ; === A != 1
+ ret bool %C
+}
+