aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/trap.ll
blob: beb4b894632b8e91a87792128b18fadca5abaaa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -march=mipsel -mcpu=mips32 < %s | FileCheck %s

declare void @llvm.trap()

define void @f1() {
entry:
  call void @llvm.trap()
  unreachable

; CHECK:        break
}