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)
commit115aa160e68eea810c65aede9d48435b42f26644
tree6ffddc77b3d913e270bc87a051c853f9e42733db
parente145a7da87d6be3e0ebc571d2bfaaaab66a37203
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.

llvm-svn: 209617
llvm/include/llvm/Transforms/Scalar.h
llvm/lib/Transforms/Scalar/LoopRotation.cpp