diff options
author | Tom Eccles <tom.eccles@arm.com> | 2025-01-08 10:05:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 10:05:21 +0000 |
commit | 303249c4490a7777a744d9afd449b64ff1132a42 (patch) | |
tree | 2025e813b8129007d1f2147915a0a47beae650b7 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 44e8ee73591bad22ae19748be825c4b66d7b3dde (diff) | |
download | llvm-303249c4490a7777a744d9afd449b64ff1132a42.zip llvm-303249c4490a7777a744d9afd449b64ff1132a42.tar.gz llvm-303249c4490a7777a744d9afd449b64ff1132a42.tar.bz2 |
[flang][StackArrays] track pointers through fir.convert (#121919)
This does add a little computational complexity because now every
freemem operation has to be tested for every allocation. This could be
improved with some more memoisation but I think it is easier to read
this way. Let me know if you would prefer me to change this to
pre-compute the normalised addresses each freemem operation is using.
Weirdly, this change resulted in a verifier failure for the fir.declare
in the previous test case. Maybe it was previously removed as dead code
and now it isn't. Anyway I fixed that too.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions