[Mlir-commits] [mlir] [mlir][vector] Add pattern to rewrite contiguous ExtractStridedSlice into Extract (PR #111541)
Jakub Kuderski
llvmlistbot at llvm.org
Tue Oct 8 09:26:18 PDT 2024
================
@@ -0,0 +1,35 @@
+// RUN: mlir-opt -split-input-file -test-vector-contiguous-extract-strided-slice-to-extract %s | FileCheck %s
----------------
kuhar wrote:
I don't think this is the case because the loop around it is serial?
https://github.com/llvm/llvm-project/blob/baa51ffd9c417c9ec272c601673c484bc4335319/mlir/lib/Support/ToolUtilities.cpp#L51-L90
If this is expected to be faster, it would be nice to have it documented in the developer docs.
I thought it's mostly for unrecoverable errors (with verify-diagnostic) / repeated names that otherwise you wouldn't be able to execute within a single module / context.
https://github.com/llvm/llvm-project/pull/111541
More information about the Mlir-commits
mailing list