xref: /aosp_15_r20/external/llvm/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: opt < %s -basicaa -functionattrs -S | grep readnone
2
3@s = external constant i8		; <i8*> [#uses=1]
4
5define i8 @f() {
6	%tmp = load i8, i8* @s		; <i8> [#uses=1]
7	ret i8 %tmp
8}
9