[all-commits] [llvm/llvm-project] adfd3c: [mlir] Fix memref_cast + subview folder when reduc...

Thomas via All-commits all-commits at lists.llvm.org
Tue Feb 16 12:01:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: adfd3c7083f9808d145239153c10f72eece485d8
      https://github.com/llvm/llvm-project/commit/adfd3c7083f9808d145239153c10f72eece485d8
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/test/Dialect/Standard/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Fix memref_cast + subview folder when reducing rank

When the destination of the subview has a lower rank than its source we need to
fix the result type of the new subview op.

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




More information about the All-commits mailing list