aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2024-12-10 15:00:32 +0100
committerGitHub <noreply@github.com>2024-12-10 15:00:32 +0100
commit28a0ad09c1c1184f667e2655318a138aa51dc9e8 (patch)
treebcd386ba305a26ca73342245aa7467e73e1b52ca /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parentf8a1f42dd5e2f57e4b0bdd8102c4f6d82e869747 (diff)
downloadllvm-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