1 ; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=pic \
2 ; RUN: -fast-isel=true -fast-isel-abort=3 < %s | FileCheck %s
3 ; RUN: llc -mtriple=mipsel -mcpu=mips32r2 -relocation-model=pic \
4 ; RUN: -fast-isel=true -fast-isel-abort=3 < %s | FileCheck %s
6 @ARR = external global [10 x i32], align 4
11 ; CHECK-DAG: lw $[[ARR:[0-9]+]], %got(ARR)({{.*}})
12 ; CHECK-DAG: addiu $[[T0:[0-9]+]], $zero, 12345
13 ; CHECK: sw $[[T0]], 8($[[ARR]])
16 store i32 12345, ptr getelementptr inbounds ([10 x i32], ptr @ARR, i32 0, i32 2), align 4