[PATCH] D54025: [LoopSimplifyCFG] Delete dead exiting edges
Fedor Sergeev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 7 06:30:08 PST 2018
fedor.sergeev added inline comments.
================
Comment at: lib/Transforms/Scalar/LoopSimplifyCFG.cpp:262
+ /// preheader-split:
+ /// <preheader code>
+ /// br label %loop_header
----------------
Minor nit - your current code splits preheader at terminator, so <preheader code> is left at preheader,
and preheader-split becomes just a block with a single branch and nothing else.
Please, correct the pseudo-code in comments here.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54025/new/
https://reviews.llvm.org/D54025
More information about the llvm-commits
mailing list