bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Generic/trap.ll
2025-02-14 19:21:04 +01:00

9 lines
146 B
LLVM

; RUN: llc < %s
define i32 @test() noreturn nounwind {
entry:
tail call void @llvm.trap( )
unreachable
}
declare void @llvm.trap() nounwind