projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcases
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2003-11-03-VarargsCallBug.ll
1
; The cast in this testcase is not eliminatable on a 32-bit target!
2
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep cast
3
4
target endian = little
5
target pointersize = 32
6
7
declare void %foo(...)
8
9
void %test(long %X) {
10
%Y = cast long %X to int*
11
call void (...)* %foo(int* %Y)
12
ret void
13
}