1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/CodeGen/SPARC/trap.ll

12 lines
242 B
LLVM
Raw Normal View History

; RUN: llc -mtriple=sparc-linux-gnu < %s -show-mc-encoding | FileCheck %s
define void @test1() {
tail call void @llvm.trap()
unreachable
; CHECK-LABEL: test1:
; CHECK: ta 5 ! encoding: [0x91,0xd0,0x20,0x05]
}
declare void @llvm.trap()