mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
11 lines
232 B
LLVM
11 lines
232 B
LLVM
|
; RUN: llc < %s -march=xcore | FileCheck %s
|
||
|
|
||
|
; CHECK-LABEL: bl_imm:
|
||
|
; CHECK: ldw [[R0:r[0-9]+]], cp
|
||
|
; CHECK: bla [[R0]]
|
||
|
define void @bl_imm() nounwind {
|
||
|
entry:
|
||
|
tail call void inttoptr (i64 65536 to void ()*)() nounwind
|
||
|
ret void
|
||
|
}
|