[all-commits] [llvm/llvm-project] 8d474f: [mlir] Handle an edge case when folding reshapes w...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Mon Nov 29 09:32:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d474f1d157530577f06ce3ef9187e1aaf31a59e
      https://github.com/llvm/llvm-project/commit/8d474f1d157530577f06ce3ef9187e1aaf31a59e
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2021-11-29 (Mon, 29 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Handle an edge case when folding reshapes with multiple trailing 1 dimensions

We would exit early and miss this case.

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




More information about the All-commits mailing list