@@ -1958,7 +1958,7 @@ enum class OuterOrInnerPerm { Outer = 0, Inner = 1 };
19581958// / Return true if either `op` or `permutation` are empty to allow a simpler
19591959// / polymorphic implementation.
19601960template <typename RelayoutOpTy>
1961- bool isValidPackingPermutation (
1961+ static bool isValidPackingPermutation (
19621962 RelayoutOpTy op, ArrayRef<int64_t > permutation,
19631963 OuterOrInnerPerm outerOrInnerPerm = OuterOrInnerPerm::Outer) {
19641964 static_assert (
@@ -4322,9 +4322,10 @@ DiagnosedSilenceableFailure transform::TransposeMatmulOp::applyToOne(
43224322// InsertSliceToCopyOp
43234323// ===----------------------------------------------------------------------===//
43244324template <typename OpTy>
4325- DiagnosedSilenceableFailure doit (RewriterBase &rewriter, OpTy target,
4326- transform::ApplyToEachResultList &results,
4327- transform::TransformState &state) {
4325+ static DiagnosedSilenceableFailure
4326+ doit (RewriterBase &rewriter, OpTy target,
4327+ transform::ApplyToEachResultList &results,
4328+ transform::TransformState &state) {
43284329 static_assert (llvm::is_one_of<OpTy, tensor::InsertSliceOp,
43294330 tensor::ParallelInsertSliceOp>() &&
43304331 " wrong op type" );
0 commit comments