mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
Make helper functions static or move them into anonymous namespaces. NFC.
This commit is contained in:
@@ -522,6 +522,7 @@ generateTransferOpSlices(VectorType vectorType, TupleType tupleType,
|
||||
}
|
||||
}
|
||||
|
||||
namespace {
|
||||
// Splits vector TransferReadOp into smaller TransferReadOps based on slicing
|
||||
// scheme of its unique ExtractSlicesOp user.
|
||||
struct SplitTransferReadOp : public OpRewritePattern<vector::TransferReadOp> {
|
||||
@@ -657,6 +658,8 @@ struct TupleGetFolderOp : public OpRewritePattern<vector::TupleGetOp> {
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
// TODO(andydavis) Add pattern to rewrite ExtractSlices(ConstantMaskOp).
|
||||
// TODO(andydavis) Add this as DRR pattern.
|
||||
void mlir::vector::populateVectorToVectorTransformationPatterns(
|
||||
|
||||
Reference in New Issue
Block a user