[llvm] [NFC][LV]: Differentiate between Pred and Unpred masked operations. (PR #169509)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 11 08:20:44 PST 2025


================
@@ -1221,6 +1221,10 @@ class LoopVectorizationCostModel {
   /// \p VF is the vectorization factor that will be used to vectorize \p I.
   bool isScalarWithPredication(Instruction *I, ElementCount VF) const;
 
+  /// Wrapper function for LoopVectorizationLegality::isMaskRequired,
+  /// that passes the \p I and if we fold tail.
----------------
david-arm wrote:

nit: Perhaps should be `passes the Instruction \p I`?

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


More information about the llvm-commits mailing list