bolt/deps/llvm-18.1.8/llvm/test/Transforms/InstCombine/cast-callee-deopt-bundles.ll
2025-02-14 19:21:04 +01:00

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