[all-commits] [llvm/llvm-project] a5bfd3: [mlir][linalg] Fix crash in tileAndFuseLinalgOpToP...

Lei Zhang via All-commits all-commits at lists.llvm.org
Mon Apr 27 10:21:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a5bfd32c07b9a90e8fac18a3ebb722b12038222f
      https://github.com/llvm/llvm-project/commit/a5bfd32c07b9a90e8fac18a3ebb722b12038222f
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp

  Log Message:
  -----------
  [mlir][linalg] Fix crash in tileAndFuseLinalgOpToParallelLoopsAndSetMarker

Instead of using llvm_unreachable to guard against fusing linalg.conv,
reject fusing linalg.conv in isFusableInto.

tileLinalgOpImpl is a templated function now and it can operate on
loop.parellel. So we should avoid calling into getForInductionVarOwner
which always assumes loop.for.

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




More information about the All-commits mailing list