bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Mips/trap1.ll

14 lines
295 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=pic
declare void @llvm.trap()
; Function Attrs: nounwind optsize readnone
define i32 @main() {
entry:
call void @llvm.trap()
unreachable
; pic: break 0
ret i32 0
}