summaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/constants.ll
blob: 95fa11e77470bbffc902a0214c51948352f90e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -march=xcore -mcpu=xs1b-generic | FileCheck %s

; CHECK: .section .cp.rodata.cst4,"aMc",@progbits,4
; CHECK: .LCPI1_0:
; CHECK: .long 12345678
; CHECK: f:
; CHECK: ldw r0, cp[.LCPI1_0]
define i32 @f() {
entry:
	ret i32 12345678
}