[all-commits] [llvm/llvm-project] 6b2e29: NFC. Refactor affine fusion code for readability

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Thu Jan 19 23:50:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b2e29c5080e3e9870d8a2151a0feaf64eb480d0
      https://github.com/llvm/llvm-project/commit/6b2e29c5080e3e9870d8a2151a0feaf64eb480d0
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp

  Log Message:
  -----------
  NFC. Refactor affine fusion code for readability

Replace a couple of check instances with llvm::any_of (clang-tidy
warnings).  Factor out "canCreatePrivateMemRef" and
"performFusionsIntoDest" into separate methods to reduce the
length/indent of the containing methods. Add doc comments and debug messages.

Mark some of the methods that should have been const const.

NFC.

Reviewed By: vinayaka-polymage

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




More information about the All-commits mailing list