https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115921
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Jeffrey A. Law from comment #3) > IIRC, the reason for that condition to to avoid spoiling certain cases where > we want to ultimately generate shNadd instructions. It's a tradeoff. Is there a test case where performing the reassocation will prevent using shNadd? I'm fixing this for LoongArch where alsl does the same thing as shNadd but I cannot figure out why the reassociation is bad considering it.