1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll
2007-01-17 07:59:14 +00:00

14 lines
267 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
declare int* %bar()
float* %foo() {
%tmp.11 = invoke float* cast (int* ()* %bar to float* ()*)()
to label %invoke_cont except label %X
invoke_cont:
ret float *%tmp.11
X:
ret float *null
}