[llvm] [LV]Set tailfolding styles before computing feasible max VF. (PR #91403)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 13 15:02:57 PDT 2024


================
@@ -1540,6 +1540,14 @@ class LoopVectorizationCostModel {
     }
   }
 
+  /// Disables previously chosen tail folding policy, sets it to None. Expects,
+  /// that the tail policy was selected.
----------------
ayalz wrote:

independent of this patch: perhaps this should be setting a new policy/style - one which explicitly states there is NoTail - to fold nor unfold, rather than "disabling" and having None mean both unfolded tail and no tail.

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


More information about the llvm-commits mailing list