[Mlir-commits] [mlir] [mlir][vector] Remove hooks deprecated pre Release/21 branch (PR #157806)
    llvmlistbot at llvm.org 
    llvmlistbot at llvm.org
       
    Wed Sep 10 00:46:12 PDT 2025
    
    
  
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-vector
Author: Andrzej WarzyĆski (banach-space)
<details>
<summary>Changes</summary>
As "promised" on Discourse, I am removing these deprecated Vector hooks
"around" Release/21 branch creation:
* https://discourse.llvm.org/t/psa-vector-standardise-operand-naming
Release/21 branch was created on July 15th, so ~2 months ago:
* https://discourse.llvm.org/t/llvm-21-x-release-information-and-branching
---
Full diff: https://github.com/llvm/llvm-project/pull/157806.diff
2 Files Affected:
- (modified) mlir/include/mlir/Dialect/Vector/IR/VectorOps.td (-12) 
- (modified) mlir/include/mlir/Interfaces/VectorInterfaces.td (-6) 
``````````diff
diff --git a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
index 77e26cca1607f..65ba7e0ad549f 100644
--- a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
+++ b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
@@ -972,10 +972,6 @@ def Vector_ScalableInsertOp :
     VectorType getDestVectorType() {
       return ::llvm::cast<VectorType>(getDest().getType());
     }
-    /// Wrapper for getResult, which replaced getRes.
-    [[deprecated("Use getResult instead!")]] ::mlir::Value getRes() {
-      return getResult();
-    }
   }];
 }
 
@@ -1027,10 +1023,6 @@ def Vector_ScalableExtractOp :
     VectorType getResultVectorType() {
       return ::llvm::cast<VectorType>(getResult().getType());
     }
-    /// Wrapper for getResult, which replaced getRes.
-    [[deprecated("Use getResult instead!")]] ::mlir::Value getRes() {
-      return getResult();
-    }
   }];
 }
 
@@ -1085,10 +1077,6 @@ def Vector_InsertStridedSliceOp :
         return ::llvm::cast<IntegerAttr>(attr).getInt() != 1;
       });
     }
-    /// Wrapper for getResult, which replaced getRes.
-    [[deprecated("Use getResult instead!")]] ::mlir::Value getRes() {
-      return getResult();
-    }
   }];
 
   let hasFolder = 1;
diff --git a/mlir/include/mlir/Interfaces/VectorInterfaces.td b/mlir/include/mlir/Interfaces/VectorInterfaces.td
index c72ca58cedafd..6838c16fdf0fe 100644
--- a/mlir/include/mlir/Interfaces/VectorInterfaces.td
+++ b/mlir/include/mlir/Interfaces/VectorInterfaces.td
@@ -187,12 +187,6 @@ def VectorTransferOpInterface : OpInterface<"VectorTransferOpInterface"> {
       return inBounds;
     }
 
-    /// Wrapper for getBase, which replaced getSource.
-    [[deprecated("Use getBase instead!")]]
-    ::mlir::Value getSource() {
-        return $_op.getBase();
-    }
-
     /// Return the number of leading shaped dimensions (of the "source" operand)
     /// that do not participate in the permutation map.
     unsigned getLeadingShapedRank() {
``````````
</details>
https://github.com/llvm/llvm-project/pull/157806
    
    
More information about the Mlir-commits
mailing list