[all-commits] [llvm/llvm-project] fa82a3: [runtimeunroll] Support epilogue unrolling with a ...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Sep 2 16:53:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa82a3d016c9fb82c1b81834fa18cd4c797735a0
      https://github.com/llvm/llvm-project/commit/fa82a3d016c9fb82c1b81834fa18cd4c797735a0
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
    M llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll

  Log Message:
  -----------
  [runtimeunroll] Support epilogue unrolling with a parent loop

This patch adds support for unrolling inner loops using epilogue unrolling. The basic issue is that the original latch exit block of the inner loop could be outside the outer loop.  When we clone the inner loop and split the latch exit, the cloned blocks need to be in the outer loop.

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




More information about the All-commits mailing list