reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
; 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
}