Re: Static branch prediction: compare IV to loop bound variable (issue 5504086)

2012-02-01 Thread Xinliang David Li
ok. thanks, David On Wed, Feb 1, 2012 at 7:33 AM, Dehao Chen wrote: > There are still some minor bugs in the current implementation, which > is fixed by the attached patch: > > passed bootstrap/regression tests for both google-4_6 and google-main branch. > > ok for google branch? > > Thanks, >

Re: Static branch prediction: compare IV to loop bound variable (issue 5504086)

2012-02-01 Thread Dehao Chen
There are still some minor bugs in the current implementation, which is fixed by the attached patch: passed bootstrap/regression tests for both google-4_6 and google-main branch. ok for google branch? Thanks, Dehao gcc/ChangeLog.google-4_6 2012-01-31 Dehao Chen * predict.c (predict_

Re: Static branch prediction: compare IV to loop bound variable (issue 5504086)

2012-01-30 Thread davidxl
Ok for google branches for now. thanks, David http://codereview.appspot.com/5504086/diff/1004/gcc/predict.c File gcc/predict.c (right): http://codereview.appspot.com/5504086/diff/1004/gcc/predict.c#newcode958 gcc/predict.c:958: find_qualified_ssa_name (tree t1, tree t2) Better change the name