[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:06 PDT 2024
================
@@ -0,0 +1,40 @@
+// RUN: mlir-opt -split-input-file -test-vector-contiguous-extract-strided-slice-to-extract %s | FileCheck %s
+
+// CHECK-LABEL: @extract_strided_slice_to_extract_i8
+// CHECK: vector.extract {{.*}}[0, 0, 0, 0] : vector<8xi8> from vector<8x1x1x2x8xi8>
+
----------------
kuhar wrote:
Can we also match the returned value?
https://github.com/llvm/llvm-project/pull/111541
More information about the Mlir-commits
mailing list