Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
FunctionAttrs
/
nonnull-global.ll
blob: 9b64bacbf5670d3a909e7f019366039d13c7ff0d [
file
] [
log
] [
blame
]
; RUN: opt -S -passes=function-attrs %s | FileCheck %s
@a
=
external
global
i8
,
!absolute_symbol !0
; CHECK-NOT: define nonnull
define
ptr
@foo
()
{
ret
ptr
@a
}
!0
=
!
{
i64
0
,
i64
256
}