Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips \
      2 ; RUN:   -relocation-model=pic -O3 < %s | FileCheck %s
      3 
      4 @x = external global i32
      5 @y = external global i32
      6 @z = external global i32
      7 
      8 define i32 @main() nounwind {
      9 entry:
     10   store i32 1, i32* @x, align 4
     11   store i32 2148, i32* @y, align 4
     12   store i32 33332, i32* @z, align 4
     13   ret i32 0
     14 }
     15 
     16 ; CHECK: li16   ${{[2-7]|16|17}}, 1
     17 ; CHECK: addiu  ${{[0-9]+}}, $zero, 2148
     18 ; CHECK: ori ${{[0-9]+}}, $zero, 33332
     19