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
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