Skip to content

Commit 4ab7765

Browse files
[fixup] Rename the operation
1 parent df54d59 commit 4ab7765

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

mlir/include/mlir/Dialect/ArmSVE/TransformOps/ArmSVEVectorTransformOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ include "mlir/Dialect/Transform/IR/TransformDialect.td"
1313
include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.td"
1414

1515
def ApplyArmSVELowerContractionPatternsOp
16-
: Op<Transform_Dialect, "apply_patterns.vector.arm_sve.lower_contraction",
16+
: Op<Transform_Dialect, "apply_patterns.arm_sve.vector_contract_to_i8mm",
1717
[DeclareOpInterfaceMethods<PatternDescriptorOpInterface>]> {
1818
let description = [{
1919
Indicates that vector contraction-like operations should be lowered to

mlir/test/Dialect/Vector/CPU/ArmSVE/vector-smmla.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ func.func @test_vector_contract_to_smmla_implicit_sext(%lhs: vector<4x8xi8>,
194194
module attributes {transform.with_named_sequence} {
195195
transform.named_sequence @__transform_main(%module: !transform.any_op {transform.readonly}) {
196196
%func = transform.structured.match ops{["func.func"]} in %module : (!transform.any_op) -> !transform.op<"func.func">
197-
197+
198198
transform.apply_patterns to %func {
199-
transform.apply_patterns.vector.arm_sve.lower_contraction
199+
transform.apply_patterns.arm_sve.vector_contract_to_i8mm
200200
} : !transform.op<"func.func">
201201

202202
transform.yield

mlir/test/Dialect/Vector/CPU/ArmSVE/vector-summla.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ func.func @test_vector_contract_to_usmmla_rev(
9898
module attributes {transform.with_named_sequence} {
9999
transform.named_sequence @__transform_main(%module: !transform.any_op {transform.readonly}) {
100100
%func = transform.structured.match ops{["func.func"]} in %module : (!transform.any_op) -> !transform.op<"func.func">
101-
101+
102102
transform.apply_patterns to %func {
103-
transform.apply_patterns.vector.arm_sve.lower_contraction
103+
transform.apply_patterns.arm_sve.vector_contract_to_i8mm
104104
} : !transform.op<"func.func">
105105

106106
transform.yield

mlir/test/Dialect/Vector/CPU/ArmSVE/vector-ummla.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ func.func @test_vector_contract_to_ummla(%lhs: vector<4x8xi8>,
102102
module attributes {transform.with_named_sequence} {
103103
transform.named_sequence @__transform_main(%module: !transform.any_op {transform.readonly}) {
104104
%func = transform.structured.match ops{["func.func"]} in %module : (!transform.any_op) -> !transform.op<"func.func">
105-
105+
106106
transform.apply_patterns to %func {
107-
transform.apply_patterns.vector.arm_sve.lower_contraction
107+
transform.apply_patterns.arm_sve.vector_contract_to_i8mm
108108
} : !transform.op<"func.func">
109109

110110
transform.yield

mlir/test/Dialect/Vector/CPU/ArmSVE/vector-usmmla.mlir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ func.func @test_vector_contract_to_usmmla(
103103
module attributes {transform.with_named_sequence} {
104104
transform.named_sequence @__transform_main(%module: !transform.any_op {transform.readonly}) {
105105
%func = transform.structured.match ops{["func.func"]} in %module : (!transform.any_op) -> !transform.op<"func.func">
106-
106+
107107
transform.apply_patterns to %func {
108-
transform.apply_patterns.vector.arm_sve.lower_contraction
108+
transform.apply_patterns.arm_sve.vector_contract_to_i8mm
109109
} : !transform.op<"func.func">
110110

111111
transform.yield
112112
}
113-
}
113+
}

0 commit comments

Comments
 (0)