[PATCH] D43373: [SCEV][NFC] Factor out common logic into a separate method

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 16:42:08 PST 2018


sanjoy accepted this revision.
sanjoy added inline comments.
This revision is now accepted and ready to land.


================
Comment at: include/llvm/Analysis/ScalarEvolution.h:838
+  /// Test if the condition described by Pred, LHS, RHS is known to be true on
+  /// every iteration of the loop of the recurrency LHS.
+  bool isKnownOnEveryIteration(ICmpInst::Predicate Pred,
----------------
How about calling this `isKnownViaInduction`?


https://reviews.llvm.org/D43373





More information about the llvm-commits mailing list