[all-commits] [llvm/llvm-project] 87a9be: Don't fail if unable to promote loops during unrol...

Tyler Augustine via All-commits all-commits at lists.llvm.org
Mon Jan 10 14:26:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87a9be2a74a98c8baf69009122ce7e75111d530e
      https://github.com/llvm/llvm-project/commit/87a9be2a74a98c8baf69009122ce7e75111d530e
  Author: Tyler Augustine <taugustine at google.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/test/Transforms/scf-loop-unroll.mlir

  Log Message:
  -----------
  Don't fail if unable to promote loops during unrolling

When the unroll factor is 1, we should only fail "unrolling" when the trip count also is determined to be 1 and it is unable to be promoted.

Reviewed By: bondhugula

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




More information about the All-commits mailing list