1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/Mips/trap1.ll
2013-08-07 04:00:26 +00:00

14 lines
325 B
LLVM

; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -soft-float -mips16-hard-float -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
}