1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/CodeGen/XCore/constants.ll
Richard Osborne 358842178f Update getSectionForConstant() to to allow mergable sections to be nulled out
if not supported by the ELF subtarget.

llvm-svn: 79249
2009-08-17 16:37:11 +00:00

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
}