Skip to content

Commit 89e32ac

Browse files
authored
[mlir][vector] Remove hooks deprecated pre Release/21 branch (#157806)
As mentioned on Discourse, * https://discourse.llvm.org/t/psa-vector-standardise-operand-naming I am removing the deprecated Vector hooks following the creation of the release/21 branch. The release/21 branch was created on July 15 (about two months ago) as noted in the LLVM 21.x release announcement * https://discourse.llvm.org/t/llvm-21-x-release-information-and-branching
1 parent 1f0003f commit 89e32ac

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

mlir/include/mlir/Dialect/Vector/IR/VectorOps.td

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -972,10 +972,6 @@ def Vector_ScalableInsertOp :
972972
VectorType getDestVectorType() {
973973
return ::llvm::cast<VectorType>(getDest().getType());
974974
}
975-
/// Wrapper for getResult, which replaced getRes.
976-
[[deprecated("Use getResult instead!")]] ::mlir::Value getRes() {
977-
return getResult();
978-
}
979975
}];
980976
}
981977

@@ -1027,10 +1023,6 @@ def Vector_ScalableExtractOp :
10271023
VectorType getResultVectorType() {
10281024
return ::llvm::cast<VectorType>(getResult().getType());
10291025
}
1030-
/// Wrapper for getResult, which replaced getRes.
1031-
[[deprecated("Use getResult instead!")]] ::mlir::Value getRes() {
1032-
return getResult();
1033-
}
10341026
}];
10351027
}
10361028

@@ -1085,10 +1077,6 @@ def Vector_InsertStridedSliceOp :
10851077
return ::llvm::cast<IntegerAttr>(attr).getInt() != 1;
10861078
});
10871079
}
1088-
/// Wrapper for getResult, which replaced getRes.
1089-
[[deprecated("Use getResult instead!")]] ::mlir::Value getRes() {
1090-
return getResult();
1091-
}
10921080
}];
10931081

10941082
let hasFolder = 1;

mlir/include/mlir/Interfaces/VectorInterfaces.td

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,6 @@ def VectorTransferOpInterface : OpInterface<"VectorTransferOpInterface"> {
187187
return inBounds;
188188
}
189189

190-
/// Wrapper for getBase, which replaced getSource.
191-
[[deprecated("Use getBase instead!")]]
192-
::mlir::Value getSource() {
193-
return $_op.getBase();
194-
}
195-
196190
/// Return the number of leading shaped dimensions (of the "source" operand)
197191
/// that do not participate in the permutation map.
198192
unsigned getLeadingShapedRank() {

0 commit comments

Comments
 (0)