[all-commits] [llvm/llvm-project] c71890: [LoopPeel][NFC] Exit early if there is no room for...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Tue Apr 26 07:45:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c71890e158df43d2aa4fbdbfb7adf6791d4cb66b
      https://github.com/llvm/llvm-project/commit/c71890e158df43d2aa4fbdbfb7adf6791d4cb66b
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopPeel.cpp

  Log Message:
  -----------
  [LoopPeel][NFC] Exit early if there is no room for peeling

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


  Commit: 39ce68886b4900dc63a90e90561ee19f5c7c07dc
      https://github.com/llvm/llvm-project/commit/39ce68886b4900dc63a90e90561ee19f5c7c07dc
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopPeel.cpp

  Log Message:
  -----------
  [LoopPeel][NFCI] Simplify the code to calculate peel count for PGO

This reorganizes the code as a preparation for D123865:

 * Use more descriptive names for variables
 * Simplify a condition by use an already calculated value
   for `MaxPeelCount`
 * Remove a duplicate log entry
 * Report basic values for loop costs

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


Compare: https://github.com/llvm/llvm-project/compare/c89433d7fa10...39ce68886b49


More information about the All-commits mailing list