diff options
author | Florian Hahn <flo@fhahn.com> | 2024-03-16 20:41:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-16 20:41:36 +0100 |
commit | e77378cc14ec712942452aca155addacbe904c8f (patch) | |
tree | 5b443f6fa7abf0801721db5b73bcfa5a04a9e4c9 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 0847c903c8a04a2bdf53d5f1b93be5705d998801 (diff) | |
download | llvm-e77378cc14ec712942452aca155addacbe904c8f.zip llvm-e77378cc14ec712942452aca155addacbe904c8f.tar.gz llvm-e77378cc14ec712942452aca155addacbe904c8f.tar.bz2 |
[Matrix] Adjust lifetime.ends during multiply fusion. (#84914)
At the moment, loads introduced by multiply fusion may be placed after
an objects lifetime has been terminated by lifetime.end. This introduces
reads to dead objects.
To avoid this, first collect all lifetime.end calls in the function.
During fusion, we deal with any lifetime.end calls that may alias any of
the loads.
Such lifetime.end calls are either moved when possible (both the
lifetime.end and the store are in the same block) or deleted.
PR: https://github.com/llvm/llvm-project/pull/84914
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions