diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2018-09-11 11:51:29 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2018-09-11 11:51:29 +0000 |
commit | ae3cfeb3ad0e4d3d8846d83c4b75e2933f043800 (patch) | |
tree | fffad3bbd776614ad61cf784350e56e88970e1c1 /llvm/lib/Target/Sparc | |
parent | a58e9214ac6adc67e1a9229c7e8cea04819547a6 (diff) | |
download | bcm5719-llvm-ae3cfeb3ad0e4d3d8846d83c4b75e2933f043800.tar.gz bcm5719-llvm-ae3cfeb3ad0e4d3d8846d83c4b75e2933f043800.zip |
[FuncAttrs] Remove "access range attributes" for read-none functions
The presence of readnone and an access range attribute (argmemonly,
inaccessiblememonly, inaccessiblemem_or_argmemonly) is considered an
error by the verifier. This seems strict but also not wrong. This
patch makes sure function attribute detection will remove all access
range attributes for readnone functions.
llvm-svn: 341927
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions