This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/66675] Could improve vector lane folding style operations.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66675

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note for this optimization to be useful there needs to be a heurstic to find
out if folding CONSTRUCTOR + VECTOR_CST is going to be only one or no other
add.  Or using one element of the whole vector.

AKA it might not be profit able to fold CONSTRUCTOR + VECTOR_CST to CONSTRUCTOR
with all scalar additions.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]