12 lines
218 B
LLVM
12 lines
218 B
LLVM
|
; RUN: opt -passes=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 @foo () [ "deopt"() ]
|
||
|
ret void
|
||
|
}
|