https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115687
Vineet Gupta <vineetg at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vineetg at gcc dot gnu.org
--- Comment #7 from Vineet Gupta <vineetg at gcc dot gnu.org> ---
Not sure if the anchor fixes the issue.
The deeper issue with CSE1 tripping up is the unfortunate side-effect of
mvconst_internal splitter, added in gcc-13 cycle.
commit 2e886eef7f2b5aadb00171af868f0895b647c3a4
Author: Raphael Moreira Zinsly <[email protected]>
Date: Tue Dec 27 18:29:25 2022 -0500
RISC-V: Produce better code with complex constants [PR95632] [PR106602]
gcc/Changelog:
PR target/95632
PR target/106602
* config/riscv/riscv.md: New pattern to simulate complex
const_int loads.
It helped fix a bunch of issues but with time both Jeff and I agree that it
needs to be reverted. Its on our list of TODO - RISE CT_00_029.
With that reverted we only get single copy of LUI.