[llvm] [LoopVectorize] Use predicated version of getSmallConstantMaxTripCount (PR #109928)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 14:15:49 PDT 2024


================
@@ -2447,6 +2451,9 @@ class PredicatedScalarEvolution {
 
   /// The symbolic backedge taken count.
   const SCEV *SymbolicMaxBackedgeCount = nullptr;
+
+  /// The constant max trip count for the loop.
+  std::optional<unsigned> SmallConstantMaxTripCount;
----------------
fhahn wrote:

Ah  I see! It's not worth the trouble then I think.

https://github.com/llvm/llvm-project/pull/109928


More information about the llvm-commits mailing list