summaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/call.ll
blob: 06a12f1444054e60f88357d38f17b92436ffa886 (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}