[all-commits] [llvm/llvm-project] 7006da: [MLIR][Vector] Update ShapeCastOp folder to use pr...

andydavis1 via All-commits all-commits at lists.llvm.org
Wed Apr 8 08:55:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7006daa548c25960dbb5a50e9b9987d4dd01798b
      https://github.com/llvm/llvm-project/commit/7006daa548c25960dbb5a50e9b9987d4dd01798b
  Author: Andy Davis <andydavis at google.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

  Changed paths:
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/vector-transforms.mlir

  Log Message:
  -----------
  [MLIR][Vector] Update ShapeCastOp folder to use producer-consumer value forwarding.

Summary:
Update ShapeCastOp folder to use producer-consumer value forwarding.
Support is added for tracking sub-vectors through trivial shape cast operations,
where the sub-vector shape is preserved across shape cast operations and only
leading ones are added or removed.
Support is preserved for cancelling shape cast operations.
One unit test is added and two are updated.

Reviewers: aartbik, nicolasvasilache

Reviewed By: aartbik, nicolasvasilache

Subscribers: frgossen, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list