diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-09-09 00:41:46 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-10-06 19:31:07 -0500 |
commit | c4cfe7a43512c8fadb2aa207f6d914858e2cc50e (patch) | |
tree | 0e661e6e58cd0b2ae8ce2924883d2748e741a5c0 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 3f540c05dfe90f5c0378614e3a4ada06b967227e (diff) | |
download | llvm-c4cfe7a43512c8fadb2aa207f6d914858e2cc50e.zip llvm-c4cfe7a43512c8fadb2aa207f6d914858e2cc50e.tar.gz llvm-c4cfe7a43512c8fadb2aa207f6d914858e2cc50e.tar.bz2 |
[Attributor] Ignore read accesses to constant memory
The old function attribute deduction pass ignores reads of constant
memory and we need to copy this behavior to replace the pass completely.
First step are constant globals. TBAA can also describe constant
accesses and there are other possibilities. We might want to consider
asking the alias analyses that are available but for now this is simpler
and cheaper.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions