diff options
author | Richard Biener <rguenther@suse.de> | 2025-04-07 11:27:19 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-04-07 13:12:34 +0200 |
commit | a4abf0fb902816a2508dda5956f407fc27821d88 (patch) | |
tree | 776e6e57cdeea83ab5a38c805eeb04f3771ca574 /libjava/classpath/java/security | |
parent | 29cc92348e0d32b7d301eae42aaebd716736f037 (diff) | |
download | gcc-a4abf0fb902816a2508dda5956f407fc27821d88.zip gcc-a4abf0fb902816a2508dda5956f407fc27821d88.tar.gz gcc-a4abf0fb902816a2508dda5956f407fc27821d88.tar.bz2 |
tree-optimization/119640 - ICE with vectorized shift placement
When the whole shift is invariant but the shift amount needs
to be converted and a vector shift used we can mess up placement
of vector stmts because we do not make SLP scheduling aware of
the need to insert code for it. The following mitigates this
by more conservative placement of such code in vectorizable_shift.
PR tree-optimization/119640
* tree-vect-stmts.cc (vectorizable_shift): Always insert code
for one of our SLP operands before the code for the vector
shift itself.
* gcc.dg/vect/pr119640.c: New testcase.
Diffstat (limited to 'libjava/classpath/java/security')
0 files changed, 0 insertions, 0 deletions