1 ; RUN: llc -march=mipsel -relocation-model=pic -O0 -fast-isel-abort=1 -mcpu=mips32r2 \ 2 ; RUN: < %s | FileCheck %s 3 ; RUN: llc -march=mipsel -relocation-model=pic -O0 -fast-isel-abort=1 -mcpu=mips32 \ 4 ; RUN: < %s | FileCheck %s 5 6 @abcd = external global i32 7 8 ; Function Attrs: nounwind 9 define void @foo() { 10 entry: 11 store i32 12345, i32* @abcd, align 4 12 ; CHECK: addiu $[[REG1:[0-9]+]], $zero, 12345 13 ; CHECK: lw $[[REG2:[0-9]+]], %got(abcd)(${{[0-9]+}}) 14 ; CHECK: sw $[[REG1]], 0($[[REG2]]) 15 ret void 16 } 17 18