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:
f22d843
)
Add test for instcombine transmogrifying allocation instructions
author
Chris Lattner
<sabre@nondot.org>
Sun, 2 Nov 2003 05:56:58 +0000
(
05:56
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 2 Nov 2003 05:56:58 +0000
(
05:56
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9653
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 8ee4cc7433f05a6dbf7dc8b65ba7e7ea9dcfa0d5..11d95ca7e5604da85b1346c0ea74f786982e4bf0 100644
(file)
--- a/
test/Transforms/InstCombine/cast.ll
+++ b/
test/Transforms/InstCombine/cast.ll
@@
-73,3
+73,9
@@
void %test11(int* %P) {
call void(int, ...)* %varargs(int 5, short* %c)
ret void
}
+
+int* %test12() {
+ %p = malloc [4 x sbyte]
+ %c = cast [4 x sbyte]* %p to int*
+ ret int* %c
+}