mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-15 08:58:51 +00:00
2a5e23b44d
if not supported by the ELF subtarget. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79249 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
248 B
LLVM
12 lines
248 B
LLVM
; RUN: llvm-as < %s | llc -march=xcore -mcpu=xs1b-generic | FileCheck %s
|
|
|
|
; CHECK: .section .cp.rodata,"ac",@progbits
|
|
; CHECK: .LCPI1_0:
|
|
; CHECK: .long 12345678
|
|
; CHECK: f:
|
|
; CHECK: ldw r0, cp[.LCPI1_0]
|
|
define i32 @f() {
|
|
entry:
|
|
ret i32 12345678
|
|
}
|