[all-commits] [llvm/llvm-project] 0c1ff2: [mlir] [affine] add canonicalization for affine.ve...

Yueh-Ting Chen via All-commits all-commits at lists.llvm.org
Sat May 1 20:37:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c1ff26bd3df2e8732b5728b663efd7ec6f31a02
      https://github.com/llvm/llvm-project/commit/0c1ff26bd3df2e8732b5728b663efd7ec6f31a02
  Author: eopXD <eopxd at skymizer.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/test/Dialect/Affine/canonicalize.mlir

  Log Message:
  -----------
  [mlir] [affine] add canonicalization for affine.vector_load, vector_store

Added canonicalization for vector_load and vector_store. An existing
pattern SimplifyAffineOp can be reused to compose maps that supplies
result into them. Added AffineVectorStoreOp and AffineVectorLoadOp
into static_assert of SimplifyAffineOp to allow operation to use it.

This fixes the bug filed: https://bugs.llvm.org/show_bug.cgi?id=50058

Reviewed By: bondhugula

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




More information about the All-commits mailing list