[PATCH] D46893: [CVP] Require DomTree for new Pass Manager

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 15 10:21:10 PDT 2018


dmgreen added inline comments.


================
Comment at: lib/Transforms/Scalar/CorrelatedValuePropagation.cpp:162
   if (auto *CommonInst = dyn_cast<Instruction>(CommonValue))
     if (!SQ.DT->dominates(CommonInst, ToBB))
       return false;
----------------
Required here :)


https://reviews.llvm.org/D46893





More information about the llvm-commits mailing list