1; RUN: llc -march=mipsel -relocation-model=pic -O0 -mips-fast-isel -fast-isel-abort -mcpu=mips32r2 \ 2; RUN: < %s | FileCheck %s 3 4@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1 5@s = common global i8* null, align 4 6 7; Function Attrs: nounwind 8define void @foo() #0 { 9entry: 10 store i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), i8** @s, align 4 11 ret void 12; CHECK: .ent foo 13; CHECK: lw $[[REG1:[0-9]+]], %got($.str)(${{[0-9]+}}) 14; CHECK: addiu ${{[0-9]+}}, $[[REG1]], %lo($.str) 15 16} 17 18attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } 19 20