repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
SystemZ
/
pie.ll
blob
8fc261454464a462c801af369f154bd70c178621
1
; RUN: llc -mtriple=s390x-linux-gnu -relocation-model=pic < %s | FileCheck %s
2
3
@foo = global i32 42
4
5
define 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}