allwinner_a64/android/external/llvm/test/CodeGen/SPARC/trap.ll
2018-08-08 16:14:42 +08:00

11 lines
242 B
LLVM

; 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()