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:
a5c5666
)
Add the testcase from PR8
author
Chris Lattner
<sabre@nondot.org>
Mon, 3 Nov 2003 03:52:34 +0000
(
03:52
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 3 Nov 2003 03:52:34 +0000
(
03:52
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9669
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 6ee4cd19e4fa2e359f96cefbab85ae0b84d92ae2..b87c22a49e0b6781d537680bce6fc821b51e5b43 100644
(file)
--- a/
test/Transforms/InstCombine/cast-set.ll
+++ b/
test/Transforms/InstCombine/cast-set.ll
@@
-47,3
+47,9
@@
bool %test6(bool %A) {
%C = setne int %B, 0
ret bool %C
}
+
+bool %test7(sbyte* %A) {
+ %B = cast sbyte* %A to int*
+ %C = seteq int* %B, null
+ ret bool %C
+}