Use code-size reduction metrics to estimate the amount of savings we'll get when...
authorOwen Anderson <resistor@mac.com>
Thu, 9 Sep 2010 19:07:31 +0000 (19:07 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 9 Sep 2010 19:07:31 +0000 (19:07 +0000)
commit6add2fbb696086bfaa40189edd7cfc0424faa4af
treeba23c6256b4a7b804ca2ff32bcdb77002fd872c6
parent9a040492f7ed084e12a19d56995855c9b5b1d3aa
Use code-size reduction metrics to estimate the amount of savings we'll get when we unroll a loop.
Next step is to recalculate the threshold values given this new heuristic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113525 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnrollPass.cpp