llvm.org GIT mirror llvm / release_40 test / CodeGen / SystemZ / pie.ll
release_40

Tree @release_40 (Download .tar.gz)

pie.ll @release_40raw · history · blame

; RUN: llc -mtriple=s390x-linux-gnu -relocation-model=pic < %s | FileCheck %s

@foo = global i32 42

define i32* @get_foo() {
  ret i32* @foo
}

; CHECK: larl    %r2, foo{{$}}

!llvm.module.flags = !{!0}

!0 = !{i32 1, !"PIE Level", i32 2}