You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
245 B

; 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
}