[all-commits] [llvm/llvm-project] f56791: [mlir] Prevent operations with users from being ho...

Sergei Grechanik via All-commits all-commits at lists.llvm.org
Tue Apr 13 15:38:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f56791ae2ea081636d0fc1dd3b1b44865145c7cb
      https://github.com/llvm/llvm-project/commit/f56791ae2ea081636d0fc1dd3b1b44865145c7cb
  Author: Sumesh Udayakumaran <sumesh.udayakumaran at intel.com>
  Date:   2021-04-13 (Tue, 13 Apr 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] Prevent operations with users from being hoisted

This patch collects operations that have users in a for loop and uses
them  when loop invariant operations are detected and hoisted.

Reviewed By: bondhugula, vinayaka-polymage

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




More information about the All-commits mailing list