[llvm-commits] [llvm] r154007 - /llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp

Tobias Grosser tobias at grosser.es
Wed Apr 4 04:57:57 PDT 2012


On 04/04/2012 01:44 PM, Hongbin Zheng wrote:
> Author: ether
> Date: Wed Apr  4 06:44:08 2012
> New Revision: 154007
>
> URL: http://llvm.org/viewvc/llvm-project?rev=154007&view=rev
> Log:
> LoopUnrollPass: Use variable "Threshold" instead of "CurrentThreshold" when
>    reducing unroll count, otherwise the reduced unroll count is not taking
>    the "OptimizeForSize" attribute into account.

I did not review this. But in any case, can you add a test case?

Tobi



More information about the llvm-commits mailing list