diff options
author | Slava Zakharin <szakharin@nvidia.com> | 2023-09-18 09:59:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-18 09:59:06 -0700 |
commit | 47025af6399aa29a045275349b04aaffaa918d1b (patch) | |
tree | f659ebfacba34dae072a5f5ad14f01c72591d510 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 37ea42b22c50b220b85e6605496ed9062a754ee9 (diff) | |
download | llvm-47025af6399aa29a045275349b04aaffaa918d1b.zip llvm-47025af6399aa29a045275349b04aaffaa918d1b.tar.gz llvm-47025af6399aa29a045275349b04aaffaa918d1b.tar.bz2 |
[flang][hlfir] Alias analysis for host associated accesses. (#65919)
This patch adds `host_assoc` attribute for operations that implement
FortranVariableInterface (e.g. `hlfir.declare`). The attribute is used
by the alias analysis to make better conclusions about memory overlap.
For example, a dummy argument of an inner subroutine and a host's
variable used inside the inner subroutine cannot refer to the same
object (if the dummy argument does not satisify exceptions in F2018
15.5.2.13).
This closes a performance gap between HLFIR optimization pipeline
and FIR ArrayValueCopy for Polyhedron/nf.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions