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
/
Transforms
/
FunctionAttrs
/
nonnull-global.ll
blob
d79a7ae290a978e5dcd5320a2dcf1b4d236f8809
1
; RUN: opt -S -functionattrs %s | FileCheck %s
2
; RUN: opt -S -passes=function-attrs %s | FileCheck %s
3
4
@a = external global i8, !absolute_symbol !0
5
6
; CHECK-NOT: define nonnull
7
define i8* @foo() {
8
ret i8* @a
9
}
10
11
!0 = !{i64 0, i64 256}