2009-09-09 08:09:15 +08:00
|
|
|
; RUN: llc < %s -march=xcore -mcpu=xs1b-generic | FileCheck %s
|
2009-08-18 00:37:11 +08:00
|
|
|
|
2011-03-05 04:03:14 +08:00
|
|
|
; CHECK: .section .cp.rodata.cst4,"aMc",@progbits,4
|
2010-04-18 00:29:15 +08:00
|
|
|
; CHECK: .LCPI0_0:
|
2009-08-18 00:37:11 +08:00
|
|
|
; CHECK: .long 12345678
|
|
|
|
; CHECK: f:
|
2010-04-18 00:29:15 +08:00
|
|
|
; CHECK: ldw r0, cp[.LCPI0_0]
|
2009-08-18 00:37:11 +08:00
|
|
|
define i32 @f() {
|
|
|
|
entry:
|
|
|
|
ret i32 12345678
|
|
|
|
}
|