diff options
author | Andrew Pritchard <awpr@google.com> | 2021-02-18 12:21:11 -0800 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2021-02-18 12:36:16 -0800 |
commit | 08c681f645c529b24989f7a87c6919c981d1d1d2 (patch) | |
tree | 9d04da3600721153bfb4006445efe2801115a211 /llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp | |
parent | 97ec8fa5bb07e3f5bf25ddcb216b545cd3d03b65 (diff) | |
download | llvm-08c681f645c529b24989f7a87c6919c981d1d1d2.zip llvm-08c681f645c529b24989f7a87c6919c981d1d1d2.tar.gz llvm-08c681f645c529b24989f7a87c6919c981d1d1d2.tar.bz2 |
Perform memory accesses in the same addrspace as the corresponding memref.
It's not necessarily the case on all architectures that all memory is
addressable in addrspace 0, so casting the pointer to addrspace 0 is
liable to cause problems.
Reviewed By: aartbik, ftynse, nicolasvasilache
Differential Revision: https://reviews.llvm.org/D96380
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp')
0 files changed, 0 insertions, 0 deletions