[all-commits] [llvm/llvm-project] f080f1: [mlir][scf] Create constants for tiling in parent ...

Oleg Shyshkov via All-commits all-commits at lists.llvm.org
Fri Mar 31 09:28:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f080f1122f42ec71571081343f7ef2dcc237a02c
      https://github.com/llvm/llvm-project/commit/f080f1122f42ec71571081343f7ef2dcc237a02c
  Author: Oleg Shyshkov <shyshkov at google.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp

  Log Message:
  -----------
  [mlir][scf] Create constants for tiling in parent with isolated region.

FuncOp is IsolatedFromAbove, so this change doesn't alter current behaviour, but the current code fails if the tile op is in an op with IsolatedFromAbove trait.

An alternative would be to create constant in the same region where they're used a rely on CSE to figure out where to move them.

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




More information about the All-commits mailing list