This is the mail archive of the gcc-patches@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] |
Hi, The problem here is that we forget to call update_stmt after changing the right hand side in the vectorizer while processing calls. This patch adds the needed update_stmt. Committed as obvious after a bootstrap/test on i686-linux-gnu. Thanks, Andrew Pinski ChangeLog: * tree-vect-transform.c (vectorizable_call): Call update_stmt after changing the right hand side of the assignment. * gcc.target/i386/vectorize4.c: New test.
Attachment:
fixpr32231.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |