Recommit r310809 with a fix for the spill problem
[llvm-core.git] / test / CodeGen / SPARC / trap.ll
blobb72a63caeebcc1b4e9cd501543be48ed1804fa7a
1 ; RUN: llc -mtriple=sparc-linux-gnu < %s -show-mc-encoding | FileCheck %s
3 define void @test1() {
4   tail call void @llvm.trap()
5   unreachable
7 ; CHECK-LABEL: test1:
8 ; CHECK: ta 5 ! encoding: [0x91,0xd0,0x20,0x05]
11 declare void @llvm.trap()