[all-commits] [llvm/llvm-project] be1ff1: [NFC] Refactor loop peeling code for calculating p...

Jamie Schmeiser via All-commits all-commits at lists.llvm.org
Fri Nov 25 06:07:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be1ff1fe58b0315ac4985010c59e78d4ba353467
      https://github.com/llvm/llvm-project/commit/be1ff1fe58b0315ac4985010c59e78d4ba353467
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/LoopPeel.h
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    A llvm/test/Transforms/LoopUnroll/peel-loop-phi-analysis.ll

  Log Message:
  -----------
  [NFC] Refactor loop peeling code for calculating phi invariance.

Summary:
Refactor loop peeling code by moving code for calculating phi invariance
into a separate class that does the calculation.  Redescribe and rework
the algorithm in preparation for adding increased functionality.  Add
test case that does not exhibit peeling that will be subsequently supported.

Author: Jamie Schmeiser <schmeise at ca.ibm.com>
Reviewed By: mkazantsev (Max Kazantsev)
Differential Revision: https://reviews.llvm.org/D138232




More information about the All-commits mailing list