mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
570d544799
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201994 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
242 B
LLVM
12 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()
|