diff options
author | Richard Biener <rguenther@suse.de> | 2025-09-01 13:29:23 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-09-01 15:18:17 +0200 |
commit | 20cd438f2f49ed4816cba9ecc558ee3377b342ba (patch) | |
tree | 74dafa6e21efd0492ef9c3e54a2dfdd50406c354 /gcc/d/dmd/root/ctfloat.h | |
parent | 7dff87e0f535406451467991477b79ffa8e45009 (diff) | |
download | gcc-20cd438f2f49ed4816cba9ecc558ee3377b342ba.zip gcc-20cd438f2f49ed4816cba9ecc558ee3377b342ba.tar.gz gcc-20cd438f2f49ed4816cba9ecc558ee3377b342ba.tar.bz2 |
tree-optimization/121744 - handle CST << var in shift pattern recog
We currently do not handle promotion/demotion of 'var' when the
left operand of a variable shift is constant. There's no good
reason why, so the following fixes this omission.
PR tree-optimization/121744
* tree-vect-patterns.cc (vect_recog_vector_vector_shift_pattern):
Allow constant left operand.
* gcc.dg/vect/pr121744-1.c: New testcase.
Diffstat (limited to 'gcc/d/dmd/root/ctfloat.h')
0 files changed, 0 insertions, 0 deletions