https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121714
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- I wonder whether the by-pieces infrastructure can be used to query both target limits and mode to use? If not, I wonder how difficult it would be to make it so. Note any > 1 gimple stmt replacement would need to be carefully placed in the pass pipeline.