[PATCH] D32552: [LibCallsShrinkWrap] Teach the pass how to preserve the dominator
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 12:58:52 PDT 2017
efriedma added inline comments.
================
Comment at: lib/Transforms/Utils/LibCallsShrinkWrap.cpp:515
TerminatorInst *NewInst =
SplitBlockAndInsertIfThen(Cond, CI, false, BranchWeights);
BasicBlock *CallBB = NewInst->getParent();
----------------
SplitBlockAndInsertIfThen has an optional DominatorTree argument.
https://reviews.llvm.org/D32552
More information about the llvm-commits
mailing list