Sign in
swiftshader
/
SwiftShader
/
5f1b4c0ba92e3b37ba64b9a9dd4d6e03c37cac19
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Transforms
/
InstCombine
/
cast-callee-deopt-bundles.ll
blob: 0f8601b855cf32bd570225e6e76b7060ed4d8345 [
file
] [
log
] [
blame
]
; RUN: opt -instcombine -S < %s | FileCheck %s
declare
void
@foo
(
i32
)
define
void
@g
()
{
; CHECK-LABEL: @g(
entry
:
; CHECK: call void @foo(i32 0) [ "deopt"() ]
call
void
bitcast
(
void
(
i32
)*
@foo
to
void
()*)
()
[
"deopt"
()
]
ret
void
}