mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
30cf33a57e
llvm-svn: 187863
14 lines
325 B
LLVM
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
|
|
}
|
|
|