diff options
Diffstat (limited to 'test/CodeGen/Mips/trap.ll')
-rw-r--r-- | test/CodeGen/Mips/trap.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/trap.ll b/test/CodeGen/Mips/trap.ll new file mode 100644 index 0000000000..beb4b89463 --- /dev/null +++ b/test/CodeGen/Mips/trap.ll @@ -0,0 +1,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 +} |