llvm/test/CodeGen/Mips/trap.ll
Akira Hatanaka 9758562aa7 [mips] Implement llvm.trap intrinsic.
Patch by Sasa Stankovic.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187244 91177308-0d34-0410-b5e6-96231b3b80d8
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
}