[InstCombine] Signed saturation patterns
[llvm-core.git] / test / Transforms / InstCombine / cast-callee-deopt-bundles.ll
blob0f8601b855cf32bd570225e6e76b7060ed4d8345
1 ; RUN: opt -instcombine -S < %s | FileCheck %s
3 declare void @foo(i32)
5 define void @g() {
6 ; CHECK-LABEL: @g(
7  entry:
8 ; CHECK: call void @foo(i32 0) [ "deopt"() ]
9   call void bitcast (void (i32)* @foo to void ()*) ()  [ "deopt"() ]
10   ret void