Initial checkin of a simple loop unroller. This pass is extremely basic and
authorChris Lattner <sabre@nondot.org>
Sun, 18 Apr 2004 05:20:17 +0000 (05:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Apr 2004 05:20:17 +0000 (05:20 +0000)
commit83bf2880c37e62bc17570ffbd95d7081a9d30c2c
tree5de455a31b678011af7354310d8e81f83124b0b5
parent3c85eef81a13d6a2943562e5953a73a6ef6684c0
Initial checkin of a simple loop unroller.  This pass is extremely basic and
limited.  Even in it's extremely simple state (it can only *fully* unroll single
basic block loops that execute a constant number of times), it already helps improve
performance a LOT on some benchmarks, particularly with the native code generators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13028 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnroll.cpp [new file with mode: 0644]