On Thu, 30 Jan 2014, Marc Glisse wrote:
> On Thu, 30 Jan 2014, Richard Biener wrote:
>
> >/* Associate (p +p off1) +p off2 as (p +p (off1 + off2)). */
> >ptr = gimple_assign_rhs1 (stmt);
> >off1 = gimple_assign_rhs2 (stmt);
> > ! if (TREE_CODE (ptr) != SSA_NAME
> > ! || !has_
On Thu, 30 Jan 2014, Richard Biener wrote:
/* Associate (p +p off1) +p off2 as (p +p (off1 + off2)). */
ptr = gimple_assign_rhs1 (stmt);
off1 = gimple_assign_rhs2 (stmt);
! if (TREE_CODE (ptr) != SSA_NAME
! || !has_single_use (ptr))
return false;
def_stmt = SSA_NAME_DEF
On 01/30/14 07:51, Richard Biener wrote:
This fixes an oversight with the (p + o1) + o2 association with
respect to abnormal-used SSA names. I've also added a single-use
test so we don't add extra computations.
Bootstrap and regtest running on x86_64-unknown-linux-gnu.
Richard.
2014-01-30 R
This fixes an oversight with the (p + o1) + o2 association with
respect to abnormal-used SSA names. I've also added a single-use
test so we don't add extra computations.
Bootstrap and regtest running on x86_64-unknown-linux-gnu.
Richard.
2014-01-30 Richard Biener
PR tree-optimizati