[PATCH] D110175: [ValueTracking,VectorCombine] Allow passing DT to computeConstantRange.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 21 07:30:25 PDT 2021


RKSimon added inline comments.


================
Comment at: llvm/include/llvm/Analysis/ValueTracking.h:552
                                      const Instruction *CtxI = nullptr,
-                                     unsigned Depth = 0);
+                                     unsigned Depth = 0,
+                                     const DominatorTree *DT = nullptr);
----------------
lebedev.ri wrote:
> I think `Depth` should always stay the last parameter
+1


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110175/new/

https://reviews.llvm.org/D110175



More information about the llvm-commits mailing list