[all-commits] [llvm/llvm-project] b0fc71: [mlir][Linalg] Disable const -> linalg.generic whe...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Apr 12 10:16:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0fc712b14ff5f9fbf56e6605fd6ae48ab017ec8
      https://github.com/llvm/llvm-project/commit/b0fc712b14ff5f9fbf56e6605fd6ae48ab017ec8
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
    M mlir/test/Dialect/Linalg/fusion-tensor.mlir

  Log Message:
  -----------
  [mlir][Linalg] Disable const -> linalg.generic when fused op is illegal.

Fusing a constant with a linalg.generic operation can result in the
fused operation being illegal since the loop bound computation
fails. Avoid such fusions.

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




More information about the All-commits mailing list