YouCompleteMe/cpp/llvm/test/CodeGen/XCore/constants.ll
2012-07-05 17:51:06 -07:00

12 lines
246 B
LLVM

; RUN: llc < %s -march=xcore -mcpu=xs1b-generic | FileCheck %s
; CHECK: .section .cp.rodata.cst4,"aMc",@progbits,4
; CHECK: .LCPI0_0:
; CHECK: .long 12345678
; CHECK: f:
; CHECK: ldw r0, cp[.LCPI0_0]
define i32 @f() {
entry:
ret i32 12345678
}