• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -relocation-model=pic -mtriple=sparc | FileCheck %s
2
3@value = external global i32
4
5define i32 @test() nounwind {
6; CHECK:    ld [%i0+value], %i0
7entry:
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