https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97071
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Another possibility would be to do this on GIMPLE, creating parts of the constant pool early with CONST_DECLs and loads from them for constants that are never legitimate (immediate) in instructions.