Weight loop unrolling counts by nesting depth. Unrolling deeply nested loops tends...
authorOwen Anderson <resistor@mac.com>
Mon, 27 Sep 2010 22:58:54 +0000 (22:58 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 27 Sep 2010 22:58:54 +0000 (22:58 +0000)
commit8d9e92ce2d848f74f0610ce783dad1a9256c4ffb
treecd69e9d89ed4c8207c8c739f902f4925eb3912d8
parent385cc5eede9f81717b03121baf47b7aa185b5128
Weight loop unrolling counts by nesting depth. Unrolling deeply nested loops tends to cause high
register pressure and thus excess spills, which we don't currently recover from well.  This should
be re-evaluated in the future if our ability to generate good spills/splits improves.

Partial fix for <rdar://problem/7635585>.

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