]> gcc.gnu.org Git - gcc.git/commit
Keep virtual SSA up-to-date in vectorizer
authorRichard Biener <rguenther@suse.de>
Mon, 4 Jul 2022 10:36:05 +0000 (12:36 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 4 Jul 2022 10:41:41 +0000 (12:41 +0200)
commit10b502fb78351a4073b6682c026a92c82d3da6c5
tree568b211740e1fc1ce5e6e4b3f9ee6ce7aedbf323
parent88b9d090aa1686ba52ce6016aeed66464fb0d4bb
Keep virtual SSA up-to-date in vectorizer

The following removes a FIXME where we fail(ed) to keep virtual
SSA up-to-date, patching up the remaining two cases I managed to
trigger.  I've left an assert so that we pick up cases arising
for the cases I wasn't able to trigger.

2022-07-04  Richard Biener  <rguenther@suse.de>

* tree-vect-loop-manip.cc (vect_do_peeling): Assert that
no SSA update is needed instead of updating virtual SSA
form.
* tree-vect-stmts.cc (vectorizable_load): For hoisted
invariant load use the loop entry virtual use.
For emulated gather loads use the virtual use of the
original stmt like vect_finish_stmt_generation would do.
gcc/tree-vect-loop-manip.cc
gcc/tree-vect-stmts.cc
This page took 0.054896 seconds and 5 git commands to generate.