Re: [GOOGLE] don't overwrite precomputed loop bound in AutoFDO

2014-01-17 Thread Xinliang David Li
Ok. David On Fri, Jan 17, 2014 at 9:08 AM, Dehao Chen wrote: > If a loop is cunrolled/vectorized, the AutoFDO computed trip count > will be very small. This patch disallows overwritting of precomputed > loop bound in AutoFDO mode. > > Bootstrapped and passed regression test. Performance test on-

[GOOGLE] don't overwrite precomputed loop bound in AutoFDO

2014-01-17 Thread Dehao Chen
If a loop is cunrolled/vectorized, the AutoFDO computed trip count will be very small. This patch disallows overwritting of precomputed loop bound in AutoFDO mode. Bootstrapped and passed regression test. Performance test on-going. OK for Google branches? Thanks, Dehao Index: tree-ssa-loop-nite