[all-commits] [llvm/llvm-project] 3d287a: [MLIR] Fix/generalize affine LICM check for side-e...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Mon Jul 10 01:41:25 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d287a755bed84b7a8ffb771c6b1d5895c187346
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

  Changed paths:
    M mlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
    M mlir/test/Dialect/Affine/affine-loop-invariant-code-motion.mlir

  Log Message:
  [MLIR] Fix/generalize affine LICM check for side-effecting ops

Fix affine LICM for side-effecting ops. The code was special-cased for
DMA ops. Generalize it and use isMemoryEffectFree.

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

More information about the All-commits mailing list