[all-commits] [llvm/llvm-project] 4a3def: [mlir][vector] Refactor TransferReadToVectorLoadLo...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jul 16 22:01:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a3defa6298ae84f88bf0ad76b50a6264ab2f337
      https://github.com/llvm/llvm-project/commit/4a3defa6298ae84f88bf0ad76b50a6264ab2f337
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-07-17 (Sat, 17 Jul 2021)

  Changed paths:
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Dialect/Vector/vector-transfer-lowering.mlir

  Log Message:
  -----------
  [mlir][vector] Refactor TransferReadToVectorLoadLowering

* TransferReadToVectorLoadLowering no longer generates memref.load ops.
* Add new pattern VectorLoadToMemrefLoadLowering that lowers scalar vector.loads to memref.loads.
* Add vector::BroadcastOp canonicalization pattern that folds broadcast chains.

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




More information about the All-commits mailing list