Skip to content

Commit a096d18

Browse files
[fixup] Rename things
1 parent 0babe59 commit a096d18

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

mlir/include/mlir/Dialect/ArmNeon/TransformOps/ArmNeonVectorTransformOps.td

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ include "mlir/Dialect/Transform/IR/TransformAttrs.td"
1212
include "mlir/Dialect/Transform/IR/TransformDialect.td"
1313
include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.td"
1414

15-
def ApplyArmNeonLowerContractionPatternsOp
16-
: Op<Transform_Dialect, "apply_patterns.vector.arm_neon.lower_contraction",
15+
def ApplyArmNeonContractionToI8MMPatternsOp
16+
: Op<Transform_Dialect,
17+
"apply_patterns.vector.arm_neon.contraction_to_i8mm",
1718
[DeclareOpInterfaceMethods<PatternDescriptorOpInterface>]> {
1819
let description = [{
19-
Indicates that vector contraction-like operations should be lowered to
20-
finer-grained vector primitives using the ArmNeon dialect.
20+
Indicates that vector.contract operations should be lowered to
21+
finer-grained vector primitives from the ArmNeon dialect.
2122
}];
2223

2324
let assemblyFormat = "attr-dict";

mlir/lib/Dialect/ArmNeon/TransformOps/ArmNeonVectorTransformOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using namespace mlir;
1818
// Apply...PatternsOp
1919
//===----------------------------------------------------------------------===//
2020

21-
void transform::ApplyArmNeonLowerContractionPatternsOp::populatePatterns(
21+
void transform::ApplyArmNeonContractionToI8MMPatternsOp::populatePatterns(
2222
RewritePatternSet &patterns) {
2323
arm_neon::populateLowerContractionToSMMLAPatternPatterns(patterns);
2424
}

mlir/test/Dialect/ArmNeon/lower-to-arm-neon.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ module attributes {transform.with_named_sequence} {
360360
%func = transform.structured.match ops{["func.func"]} in %module : (!transform.any_op) -> !transform.op<"func.func">
361361

362362
transform.apply_patterns to %func {
363-
transform.apply_patterns.vector.arm_neon.lower_contraction
363+
transform.apply_patterns.vector.arm_neon.contraction_to_i8mm
364364
} : !transform.op<"func.func">
365365

366366
transform.yield

0 commit comments

Comments
 (0)