llvm/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll
2006-12-02 04:23:10 +00:00

12 lines
257 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 %invoke_cont
invoke_cont:
ret float *%tmp.11
}