search for: optsizeunrollthreshold

Displaying 1 result from an estimated 1 matches for "optsizeunrollthreshold".

2012 Apr 03
1
[LLVMdev] Possible typo in LoopUnrollPass.cpp
...dden to a smaller value if the current // function is marked as optimize-for-size, and the unroll threshold was // not user specified. unsigned Threshold = CurrentThreshold; if (!UserThreshold && Header->getParent()->hasFnAttr(Attribute::OptimizeForSize)) Threshold = OptSizeUnrollThreshold; As a result, the OptimizeForSize attribute is ignored when the pass calculating the reduced count, which is not I expected. Am i correct or i missed something? If i am correct, i am going to fix this. best regards ether ps: the code contains typo if (TripCount) { // Reduce unroll...