re PR rtl-optimization/33928 (30% performance slowdown in floating-point code caused by r118475)

2009-05-08  Paolo Bonzini  <bonzini@gnu.org>

	PR rtl-optimization/33928
        * loop-invariant.c (record_use): Fix && vs. || mishap.

From-SVN: r147274
This commit is contained in:
Paolo Bonzini 2009-05-08 07:51:46 +00:00 committed by Paolo Bonzini
parent 1bfdbb2922
commit 3e807ffc9d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-05-08 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/33928
* loop-invariant.c (record_use): Fix && vs. || mishap.
2009-05-08 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/33928

View File

@ -726,7 +726,7 @@ record_use (struct def *def, df_ref use)
u->pos = DF_REF_REAL_LOC (use);
u->insn = DF_REF_INSN (use);
u->addr_use_p = (DF_REF_TYPE (use) == DF_REF_REG_MEM_LOAD
&& DF_REF_TYPE (use) == DF_REF_REG_MEM_STORE);
|| DF_REF_TYPE (use) == DF_REF_REG_MEM_STORE);
u->next = def->uses;
def->uses = u;
def->n_uses++;