mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 20:43:44 +02:00
8d84372836
of using llvm-as, now that opt supports this. llvm-svn: 81226
16 lines
376 B
LLVM
16 lines
376 B
LLVM
; RUN: opt %s -instcombine -disable-output
|
|
|
|
declare i32* @bar()
|
|
|
|
define float* @foo() {
|
|
%tmp.11 = invoke float* bitcast (i32* ()* @bar to float* ()*)( )
|
|
to label %invoke_cont unwind label %X ; <float*> [#uses=1]
|
|
|
|
invoke_cont: ; preds = %0
|
|
ret float* %tmp.11
|
|
|
|
X: ; preds = %0
|
|
ret float* null
|
|
}
|
|
|