[Mlir-commits] [mlir] [mlir][vector] Add pattern to rewrite contiguous ExtractStridedSlice into Extract (PR #111541)
Jakub Kuderski
llvmlistbot at llvm.org
Tue Oct 8 08:19:04 PDT 2024
================
@@ -235,6 +235,12 @@ void populateVectorExtractStridedSliceToExtractInsertChainPatterns(
std::function<bool(ExtractStridedSliceOp)> controlFn = nullptr,
PatternBenefit benefit = 1);
+/// Populate `patterns` with a pattern to rewrite simple cases of N-D
+/// extract_strided_slice, where the slice is contiguous, into extract and
----------------
kuhar wrote:
ubernit: I know this follows the existing convention in this file, but darn is this first part of the sentence redundant :D I'd say 'Patterns to rewrite ...'
(not requesting any change here, just venting...)
https://github.com/llvm/llvm-project/pull/111541
More information about the Mlir-commits
mailing list