aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Mips/trap1.ll
blob: c0c6146315093f207f9cd0c7fa4c064a66053912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc -mtriple=mipsel-linux-gnu -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
}