[PATCH] D37343: [CGP] Merge empty case blocks if no extra moves are added.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 13:53:15 PDT 2017
efriedma added inline comments.
================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:953
+ BB->removeFromParent();
+ if (BB->getParent() == DestBB->getParent() && BB != DestBB)
+ DT->deleteEdge(BB, DestBB);
----------------
"BB->getParent() == DestBB->getParent()" still here. What is that trying to check for?
https://reviews.llvm.org/D37343
More information about the llvm-commits
mailing list