[llvm] [LV][NFC]Preselect folding style before choosing maxing VF, NFC. (PR #81885)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 08:36:31 PST 2024


================
@@ -1674,8 +1686,10 @@ class LoopVectorizationCostModel {
   /// iterations to execute in the scalar loop.
   ScalarEpilogueLowering ScalarEpilogueStatus = CM_ScalarEpilogueAllowed;
 
-  /// All blocks of loop are to be masked to fold tail of scalar iterations.
-  bool CanFoldTailByMasking = false;
+  /// Control finally chosen tail folding style. The first element is used if IV
----------------
fhahn wrote:

nit: if the IV update

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


More information about the llvm-commits mailing list