[AArch64] Fix bug in prolog clobbering live reg when shrink wrapping.
[oota-llvm.git] / test / CodeGen / SPARC / trap.ll
1 ; RUN: llc -mtriple=sparc-linux-gnu < %s -show-mc-encoding | FileCheck %s
2
3 define void @test1() {
4   tail call void @llvm.trap()
5   unreachable
6
7 ; CHECK-LABEL: test1:
8 ; CHECK: ta 5 ! encoding: [0x91,0xd0,0x20,0x05]
9 }
10
11 declare void @llvm.trap()