[PATCH] D78548: [mlir] [linalg] Fix transform-patterns test.
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 21 03:12:43 PDT 2020
ftynse accepted this revision.
ftynse added a comment.
This revision is now accepted and ready to land.
Thanks!
================
Comment at: mlir/test/Dialect/Linalg/transform-patterns.mlir:4
+// CHECK-DAG: #[[STRIDED_1D:.*]] = affine_map<(d0)[s0, s1] -> (d0 * s1 + s0)>
+// CHECK-DAG: #[[STRIDED_2D_1:.*]] = affine_map<(d0, d1)[s0, s1] -> (d0 * s1 + s0 + d1)>
+// CHECK-DAG: #[[STRIDED_2D:.*]] = affine_map<(d0, d1)[s0, s1, s2] -> (d0 * s1 + s0 + d1 * s2)>
----------------
This looks like the stride along the last dim is known to be "1". I suppose that's what you meant by the "_1" in the name, but maybe add a comment to explain.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78548/new/
https://reviews.llvm.org/D78548
More information about the llvm-commits
mailing list