[Bug target/106022] [12/13 Regression] Enable vectorizer generates extra load

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 20 14:07:51 GMT 2022


--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 53169
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53169&action=edit
A patch

This patch multiplies the vector store cost by the number of scalar elements in
a word to properly compare scalar store cost against vector store cost.

More information about the Gcc-bugs mailing list