[all-commits] [llvm/llvm-project] 6b66f2: [mlir] [VectorOps] Canonicalization of 1-D memory ...

Aart Bik via All-commits all-commits at lists.llvm.org
Thu Aug 13 17:16:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b66f21446b982ec698830d0ea8469cee0b208ac
      https://github.com/llvm/llvm-project/commit/6b66f21446b982ec698830d0ea8469cee0b208ac
  Author: aartbik <ajcbik at google.com>
  Date:   2020-08-13 (Thu, 13 Aug 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorOps.td
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    A mlir/test/Dialect/Vector/vector-mem-transforms.mlir

  Log Message:
  -----------
  [mlir] [VectorOps] Canonicalization of 1-D memory operations

Masked loading/storing in various forms can be optimized
into simpler memory operations when the mask is all true
or all false. Note that the backend does similar optimizations
but doing this early may expose more opportunities for further
optimizations. This further prepares progressively lowering
transfer read and write into 1-D memory operations.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list