RFA: Fix PR21767 (Was: Re: RFD: what to do about stale REG_EQUAL notes in dead_or_predictable)

2005-05-31 Thread Joern RENNECKE
I've tried removing REG_EQUAL notes altogether unless we know that the source of the move is function invariant, and got identical assembler for all the EEMBC tests as without the patch. Likewise for an entire sh4-elf multilibbed libgcc, libstdc++-v3 and newlib build. I think it is therefore rea

RFD: what to do about stale REG_EQUAL notes in dead_or_predictable

2005-05-26 Thread Joern RENNECKE
I wonder what best to do about rtl-optimization/21767. We sometimes have REG_EQUAL notes that are only true when the instruction stays exactly where it is, like: (insn 11 10 12 0 (set (reg:SI 147 t) (eq:SI (reg/v:SI 159 [ i ]) (reg:SI 161))) 1 {cmpeqsi_t} (nil) (expr_list:RE