https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92549
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Target| |x86_64-*-*, i?86-*-*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-11-18
Component|rtl-optimization |target
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Since there's no way encode this in RTL this must be done in some peephole2?
IIRC
(parallel
(set (reg:SI 1) (reg:SI 2))
(set (reg:SI 2) (reg:SI 1)))
doesn't work like PHI nodes (all "reads" happen first, then the "writes"),
even though it would be nice to eventually represent it that way?