diff options
author | Richard Biener <rguenther@suse.de> | 2023-08-24 10:00:20 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-08-24 10:59:16 +0200 |
commit | 7b67cab154d4b5ec2a6bb62755da31cefbe63536 (patch) | |
tree | 225e99abe866aca6d0c8082a87a9dd210d10bc07 /gcc/c/c-lang.h | |
parent | 308e716266787f84ba4a47546317dae83be8901c (diff) | |
download | gcc-7b67cab154d4b5ec2a6bb62755da31cefbe63536.zip gcc-7b67cab154d4b5ec2a6bb62755da31cefbe63536.tar.gz gcc-7b67cab154d4b5ec2a6bb62755da31cefbe63536.tar.bz2 |
tree-optimization/111128 - fix shift pattern recog
The following fixes placement of shift operand sanitization with
MIN when the original shift operand was external but the actual
one is not.
PR tree-optimization/111128
* tree-vect-patterns.cc (vect_recog_over_widening_pattern):
Emit external shift operand inline if we promoted it with
another pattern stmt.
* gcc.dg/torture/pr111128.c: New testcase.
Diffstat (limited to 'gcc/c/c-lang.h')
0 files changed, 0 insertions, 0 deletions