[PATCH] D92247: [IR][LoopRotate] avoid leaving phi with no operands (PR48296)
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 30 02:26:10 PST 2020
foad added inline comments.
================
Comment at: llvm/lib/IR/BasicBlock.cpp:333
for (PHINode &Phi : make_early_inc_range(phis())) {
- Phi.removeIncomingValue(Pred, !KeepOneInputPHIs);
+ Phi.removeIncomingValue(Pred);
if (KeepOneInputPHIs)
----------------
FYI I tried this as part of D80206 but had to revert because of https://bugs.llvm.org/show_bug.cgi?id=46343.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92247/new/
https://reviews.llvm.org/D92247
More information about the llvm-commits
mailing list