1; RUN: llc -mtriple=s390x-linux-gnu -relocation-model=pic < %s | FileCheck %s
2
3@foo = global i32 42
4
5define i32* @get_foo() {
6 ret i32* @foo
7}
8
9; CHECK: larl %r2, foo{{$}}
10
11!llvm.module.flags = !{!0}
12
13!0 = !{i32 1, !"PIE Level", i32 2}
14