mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
a3a49aeee0
llvm-svn: 79368
12 lines
256 B
LLVM
12 lines
256 B
LLVM
; RUN: llvm-as < %s | llc -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
|
|
}
|