[llvm] [LoopVectorize] Use predicated version of getSmallConstantMaxTripCount (PR #109928)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 6 07:37:34 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:
```suggestion
const SCEV* SmallConstantMaxTripCount = nullptr;
```
for consistency with `BackedgeCount` and `SymbolicMaxBackedgeCount` above?
https://github.com/llvm/llvm-project/pull/109928
More information about the llvm-commits
mailing list