repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
FunctionAttrs
/
nonnull-global.ll
blob
e0c8ae465935da68d10b3962db4967245c0eb4ed
1
; RUN: opt -S -function-attrs %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}