projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7e045d85411f1555fc532905db0d0cbe9b8aff0d
[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 inttoptr
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
}