1 ; RUN: llc < %s -relocation-model=pic -mtriple=sparc | FileCheck %s 2 3 @value = external global i32 4 5 define i32 @test() nounwind { 6 ; CHECK: ld [%i0+value], %i0 7 entry: 8 %0 = load i32, i32* @value 9 ret i32 %0 10 } 11 12 !llvm.module.flags = !{!0} 13 14 !0 = !{i32 7, !"PIC Level", i32 1} 15