https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |kyrylo.tkachov at arm dot com --- Comment #26 from Richard Biener <rguenth at gcc dot gnu.org> --- I'm testing a patch along comment#25 - CCing Kyrylo who seems to have authored the code. It doesn't address the issue noted by Roger that we use MAX_COST but as said in the comment it improves compile-time quite a bit and it should also produce better sequences since we base the cost on the vector mode that will be used rather than the scalar mode (assuming the vector ops are costed in a non-random way - which is likely where this will fail).