aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorSlava Zakharin <szakharin@nvidia.com>2025-09-26 09:40:04 -0700
committerGitHub <noreply@github.com>2025-09-26 09:40:04 -0700
commitd6e20c42c1f916fa925f0b1c2c37f3098ada1686 (patch)
tree87ea827a05287b4464f8392ef2b8dfa39a20f25e /clang/lib/CodeGen/CodeGenAction.cpp
parent3aaa58fd903b26831f986140acbfdac4e07d4f12 (diff)
downloadllvm-d6e20c42c1f916fa925f0b1c2c37f3098ada1686.zip
llvm-d6e20c42c1f916fa925f0b1c2c37f3098ada1686.tar.gz
llvm-d6e20c42c1f916fa925f0b1c2c37f3098ada1686.tar.bz2
[flang] Clean-up for fir.do_loop generation in lowering. (#160630)
This patch changes two things: 1. We do not need to use the loop counter's last value for regular do-loops in Lowering. 2. The loop counter's increment is implied by fir.do_loop operation, so there is no need to increment it explicitly. The last point has been especially confusing to me, because it was unclear why we have an explicit increment if it is implied. It looks like CFGConversion somehow still makes the final code correct, i.e. the counter is not incremented twice. Anyway, the new lowering should look more concise.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions