Skip to content

Commit 49e54cd

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in LinalgOps.cpp (NFC)
1 parent 2762495 commit 49e54cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3880,7 +3880,7 @@ bool MatmulOp::isValidLhsRhsBroadcastMap(AffineMap bcastMap) {
38803880
return expr.isFunctionOfDim(bcastMap.getNumDims() - 1);
38813881
}
38823882

3883-
FailureOr<ArrayAttr> parseIndexingMapsAttr(OpAsmParser &parser) {
3883+
static FailureOr<ArrayAttr> parseIndexingMapsAttr(OpAsmParser &parser) {
38843884
if (parser.parseOptionalKeyword("indexing_maps"))
38853885
return ArrayAttr{
38863886
nullptr}; // Success in case indexing_maps was not provided.
@@ -5474,7 +5474,7 @@ PackOp PackOp::createTransposedClone(OpBuilder &b, Location loc,
54745474

54755475
/// Returns true if the tiles and the tiled dims are constant.
54765476
template <typename OpTy>
5477-
bool areTilesAndTiledDimsAllConstant(OpTy op) {
5477+
static bool areTilesAndTiledDimsAllConstant(OpTy op) {
54785478
static_assert(llvm::is_one_of<OpTy, PackOp, UnPackOp>::value,
54795479
"applies to only pack or unpack operations");
54805480
ShapedType packedType = (std::is_same<OpTy, PackOp>::value)

0 commit comments

Comments
 (0)