[all-commits] [llvm/llvm-project] f3fae0: [mlir] use strided layout in structured codegen-re...

ftynse via All-commits all-commits at lists.llvm.org
Fri Sep 16 23:11:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3fae035c7a16e1f4c7d96b115212714375a3d38
      https://github.com/llvm/llvm-project/commit/f3fae035c7a16e1f4c7d96b115212714375a3d38
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2022-09-17 (Sat, 17 Sep 2022)

  Changed paths:
    M mlir/docs/Bufferization.md
    M mlir/docs/Dialects/Linalg/_index.md
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
    M mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
    M mlir/test/Conversion/BufferizationToMemRef/bufferization-to-memref.mlir
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
    M mlir/test/Conversion/SCFToGPU/parallel_loop.mlir
    M mlir/test/Dialect/Bufferization/Transforms/finalizing-bufferize.mlir
    M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
    M mlir/test/Dialect/Linalg/fusion-indexed.mlir
    M mlir/test/Dialect/Linalg/fusion.mlir
    M mlir/test/Dialect/Linalg/promote.mlir
    M mlir/test/Dialect/MemRef/canonicalize.mlir
    M mlir/test/Dialect/MemRef/simplify-extract-strided-metadata.mlir
    M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
    M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
    M mlir/test/Dialect/Vector/vector-warp-distribute.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
    M mlir/test/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [mlir] use strided layout in structured codegen-related tests

All relevant operations have been switched to primarily use the strided
layout, but still support the affine map layout. Update the relevant
tests to use the strided format instead for compatibility with how ops
now print by default.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D134045


  Commit: 83df43f3a204c529167caeedc26edae5faebbd31
      https://github.com/llvm/llvm-project/commit/83df43f3a204c529167caeedc26edae5faebbd31
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2022-09-17 (Sat, 17 Sep 2022)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir

  Log Message:
  -----------
  [mlir] use strided layouts in vector transfer on memrefs

One of the vector transformation patterns has been indiscriminately
converting layouts to affine maps. Leverage the strided form when
possible.

Reviewed By: nicolasvasilache, dcaballe

Differential Revision: https://reviews.llvm.org/D134047


Compare: https://github.com/llvm/llvm-project/compare/edc1c9f6108a...83df43f3a204


More information about the All-commits mailing list