[all-commits] [llvm/llvm-project] 5d001f: [mlir] Fix a bug in Affine LICM.

Amy Zhuang via All-commits all-commits at lists.llvm.org
Thu Oct 7 16:15:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d001f58f241a0e15751feea8f087ede0ca6371f
      https://github.com/llvm/llvm-project/commit/5d001f58f241a0e15751feea8f087ede0ca6371f
  Author: Amy Zhuang <amy.zhuang at intel.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  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 a bug in Affine LICM.

Currently Affine LICM checks iterOperands and does not hoist out any
instruction containing iterOperands. We should check iterArgs instead.

Reviewed By: bondhugula

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




More information about the All-commits mailing list