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