diff options
| author | jeanPerier <jperier@nvidia.com> | 2024-12-10 15:00:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-10 15:00:32 +0100 |
| commit | 28a0ad09c1c1184f667e2655318a138aa51dc9e8 (patch) | |
| tree | bcd386ba305a26ca73342245aa7467e73e1b52ca /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
| parent | f8a1f42dd5e2f57e4b0bdd8102c4f6d82e869747 (diff) | |
| download | llvm-28a0ad09c1c1184f667e2655318a138aa51dc9e8.zip llvm-28a0ad09c1c1184f667e2655318a138aa51dc9e8.tar.gz llvm-28a0ad09c1c1184f667e2655318a138aa51dc9e8.tar.bz2 | |
[flang][hlfir] fix issue 118922 (#119219)
hlfir.elemental codegen optimize-out the final as_expr copy for temps
local to its body, but sometimes, clean-up may have been emitted for
this temp, and the code did not handle that.
This caused #118922 and @113843.
Only elide the copy if the as_expr is the last op.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions
