[PATCH] D138568: [SCEV][NFC] Rename MaxNotTaken -> ConstantMaxNotTaken

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 06:51:31 PST 2022


lebedev.ri added a comment.

Sounds reasonable?

FTR, i would like to soon look into symbolic SCEV ranges/bounds
(akin constant ranges, just symbolic, and loop-scope-dependent), to help LoopVectorizer.



================
Comment at: llvm/include/llvm/Analysis/ScalarEvolution.h:1315
     const SCEV *ExactNotTaken; // The exit is not taken exactly this many times
-    const SCEV *MaxNotTaken; // The exit is not taken at most this many times
+    const SCEV *ConstantMaxNotTaken; // The exit is not taken at most this many
+                                     // times
----------------
Here and elsewhere:
`const SCEVConstant *ConstantMaxNotTaken;`
?


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

https://reviews.llvm.org/D138568



More information about the llvm-commits mailing list