Add support for mergeable sections back into the XCore backend.
[oota-llvm.git] / test / CodeGen / XCore / constants.ll
1 ; RUN: llvm-as < %s | llc -march=xcore -mcpu=xs1b-generic | FileCheck %s
2
3 ; CHECK: .section .cp.rodata.cst4,"aMc",@progbits,4
4 ; CHECK: .LCPI1_0:
5 ; CHECK: .long 12345678
6 ; CHECK: f:
7 ; CHECK: ldw r0, cp[.LCPI1_0]
8 define i32 @f() {
9 entry:
10         ret i32 12345678
11 }