[all-commits] [llvm/llvm-project] b0c4aa: Allow only valid vector.shape_cast transitive folding

Ahmed S. Taei via All-commits all-commits at lists.llvm.org
Mon Oct 18 07:58:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0c4aaff24fb3b55abb3415c14ad776f89c0205d
      https://github.com/llvm/llvm-project/commit/b0c4aaff24fb3b55abb3415c14ad776f89c0205d
  Author: Ahmed Taei <ataei at google.com>
  Date:   2021-10-18 (Mon, 18 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  Allow only valid vector.shape_cast transitive folding

When folding A->B->C => A->C only accept A->C that is valid shape cast

Reviewed By: ThomasRaoux, nicolasvasilache

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




More information about the All-commits mailing list