[llvm] [NFCI][LV] Remove unsupported variable mask position for vector variants. (PR #197192)

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 07:04:50 PDT 2026


================
@@ -128,31 +128,23 @@ struct VFInfo {
   std::string VectorName; /// Vector Function Name associated to this VFInfo.
   VFISAKind ISA;          /// Instruction Set Architecture.
 
-  /// Returns the index of the first parameter with the kind 'GlobalPredicate',
-  /// if any exist.
-  std::optional<unsigned> getParamIndexForOptionalMask() const {
-    unsigned ParamCount = Shape.Parameters.size();
-
+  /// Returns true if the last operand to the vectorized function has the
+  /// kind 'GlobalPredicate'.
+  bool isMasked() const {
+    // There should be at most one GlobalPredicate parameter.
----------------
huntergr-arm wrote:

done, thanks.

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


More information about the llvm-commits mailing list