diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2022-04-26 18:44:24 +0400 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2022-04-26 18:44:24 +0400 |
commit | 39ce68886b4900dc63a90e90561ee19f5c7c07dc (patch) | |
tree | 3b96c6d1da78d28ee192f40d179168ba4561c382 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | c71890e158df43d2aa4fbdbfb7adf6791d4cb66b (diff) | |
download | llvm-39ce68886b4900dc63a90e90561ee19f5c7c07dc.zip llvm-39ce68886b4900dc63a90e90561ee19f5c7c07dc.tar.gz llvm-39ce68886b4900dc63a90e90561ee19f5c7c07dc.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions