Home | History | Annotate | Download | only in XCore
      1 ; RUN: llc < %s -march=xcore -mcpu=xs1b-generic | FileCheck %s
      2 
      3 ; CHECK: .section .cp.rodata.cst4,"aMc",@progbits,4
      4 ; CHECK: .LCPI0_0:
      5 ; CHECK: .long 12345678
      6 ; CHECK-LABEL: f:
      7 ; CHECK: ldw r0, cp[.LCPI0_0]
      8 define i32 @f() {
      9 entry:
     10 	ret i32 12345678
     11 }
     12 
     13 define i32 @g() {
     14 entry:
     15 ; CHECK-LABEL: g:
     16 ; CHECK: mkmsk r0, 1
     17 ; CHECK: retsp 0
     18   ret i32 1;
     19 }
     20