1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test/CodeGen/Mips/trap.ll
Akira Hatanaka 329763d851 [mips] Implement llvm.trap intrinsic.
Patch by Sasa Stankovic.

llvm-svn: 187244
2013-07-26 20:58:55 +00:00

12 lines
177 B
LLVM

; RUN: llc -march=mipsel -mcpu=mips32 < %s | FileCheck %s
declare void @llvm.trap()
define void @f1() {
entry:
call void @llvm.trap()
unreachable
; CHECK: break
}