Re: PR tree-optimization/57337

2013-05-28 Thread Easwaran Raman
On Tue, May 28, 2013 at 4:11 AM, Richard Biener wrote: > On Mon, May 27, 2013 at 10:20 AM, Richard Biener > wrote: >> On Sun, May 26, 2013 at 5:53 AM, Easwaran Raman wrote: >>> On Sat, May 25, 2013 at 4:46 AM, Richard Biener >>> wrote: Easwaran Raman wrote: >In that case, if my i

Re: PR tree-optimization/57337

2013-05-28 Thread Richard Biener
On Mon, May 27, 2013 at 10:20 AM, Richard Biener wrote: > On Sun, May 26, 2013 at 5:53 AM, Easwaran Raman wrote: >> On Sat, May 25, 2013 at 4:46 AM, Richard Biener >> wrote: >>> Easwaran Raman wrote: >>> In that case, if my insert_stmt immediately follows dep_stmt and both have the same

Re: PR tree-optimization/57337

2013-05-27 Thread Richard Biener
This addresses the case where UID alone is not sufficient to figure >>>>> out which statement appears earlier in a BB. Bootstraps and no test >>>>> regressions in x86_64 on linux. Ok for trunk? >>>> >>>> Why not simply conservatively u

Re: PR tree-optimization/57337

2013-05-25 Thread Easwaran Raman
where UID alone is not sufficient to figure >>>> out which statement appears earlier in a BB. Bootstraps and no test >>>> regressions in x86_64 on linux. Ok for trunk? >>> >>> Why not simply conservatively use gimple_uid (a) <= gimple_uid (b) >>&g

Re: PR tree-optimization/57337

2013-05-25 Thread Richard Biener
>> in not_dominated_by? >> >> Richard. >> >> >> >>> Thanks, >>> Easwaran >>> >>> >>> 2013-05-23 Easwaran Raman >>> >>> PR tree-optimization/57337 >>> * tree-ssa-reassoc.c (appears_late

Re: PR tree-optimization/57337

2013-05-24 Thread Easwaran Raman
(a) <= gimple_uid (b) > in not_dominated_by? > > Richard. > > > >> Thanks, >> Easwaran >> >> >> 2013-05-23 Easwaran Raman >> >> PR tree-optimization/57337 >> * tree-ssa-reassoc.c (appears_later_in_bb): New function. >> (find_inse

Re: PR tree-optimization/57337

2013-05-24 Thread Richard Biener
le_uid (a) <= gimple_uid (b) in not_dominated_by? Richard. > Thanks, > Easwaran > > > 2013-05-23 Easwaran Raman > > PR tree-optimization/57337 > * tree-ssa-reassoc.c (appears_later_in_bb): New function. > (find_insert_point): Correctly identify the insertion point >

PR tree-optimization/57337

2013-05-23 Thread Easwaran Raman
This addresses the case where UID alone is not sufficient to figure out which statement appears earlier in a BB. Bootstraps and no test regressions in x86_64 on linux. Ok for trunk? Thanks, Easwaran 2013-05-23 Easwaran Raman PR tree-optimization/57337 * tree-ssa-reassoc.c