• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=mipsel-sde-elf -march=mipsel -relocation-model=static -mattr=+noabicalls -mgpopt < %s \
2; RUN: | FileCheck %s
3
4@i = internal unnamed_addr global i32 0, align 4
5
6define i32 @geti() nounwind readonly {
7entry:
8; CHECK: lw ${{[0-9]+}}, %gp_rel(i)($gp)
9  %0 = load i32, i32* @i, align 4
10  ret i32 %0
11}
12
13