[PATCH] D87293: [GVN] Fix undef incoming value for phi node when new loop exit block created.
weiwei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 06:35:07 PDT 2020
wwei added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/GVN.cpp:2763
+ [&](BasicBlock *Pred) { return !DeadBlocks.count(Pred); });
+ std::vector<BasicBlock *> NewBolcks;
+ std::set_intersection(Succs.begin(), Succs.end(), Preds.begin(),
----------------
asbirlea wrote:
> s/NewBolcks/NewBlocks
changed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87293/new/
https://reviews.llvm.org/D87293
More information about the llvm-commits
mailing list