]> granicus.if.org Git - llvm/commit
Make the LoopRotate pass's maximum header size configurable both programmatically
authorOwen Anderson <resistor@mac.com>
Mon, 26 May 2014 08:58:51 +0000 (08:58 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 26 May 2014 08:58:51 +0000 (08:58 +0000)
commit866ed7f63f9edf9c20763a9abc115fb23372f42f
treec9ff12c4fd2ef5feefd03b1fbc697f6522c33dbc
parentbcc96923e014dbd496ae29f67629c62f45ec653c
Make the LoopRotate pass's maximum header size configurable both programmatically
and via the command line, mirroring similar functionality in LoopUnroll.  In
situations where clients used custom unrolling thresholds, their intent could
previously be foiled by LoopRotate having a hardcoded threshold.

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