Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
fbb4d1e43d0db9f8d1514a0209bb01f56e49d75f
/
.
/
llvm
/
test
/
Transforms
/
FunctionAttrs
/
nonnull-global.ll
blob: d79a7ae290a978e5dcd5320a2dcf1b4d236f8809 [
file
] [
log
] [
blame
]
; RUN: opt -S -functionattrs %s | FileCheck %s
; RUN: opt -S -passes=function-attrs %s | FileCheck %s
@a
=
external
global
i8
,
!absolute_symbol !0
; CHECK-NOT: define nonnull
define
i8
*
@foo
()
{
ret
i8
*
@a
}
!0
=
!
{
i64
0
,
i64
256
}