diff options
author | Richard Biener <rguenther@suse.de> | 2021-05-28 14:26:06 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-05-28 15:18:27 +0200 |
commit | f7a07f5a5d8065e7f11133dd1f4ad3510ab2195b (patch) | |
tree | 07149196d312e7880dfd71f84e0e87d6c66cec78 /gcc/gimplify.c | |
parent | f838e3ccf8d2849980e9d0f70aa60ecd2eb5772c (diff) | |
download | gcc-f7a07f5a5d8065e7f11133dd1f4ad3510ab2195b.zip gcc-f7a07f5a5d8065e7f11133dd1f4ad3510ab2195b.tar.gz gcc-f7a07f5a5d8065e7f11133dd1f4ad3510ab2195b.tar.bz2 |
tree-optimization/100778 - avoid cross-BB vectorization of trapping op
This avoids vectorizing a possibly trapping operation when lanes
are handled in different BBs. I spotted this when working on the
originally reported issue in PR100778.
2021-05-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/100778
* tree-vect-slp.c (vect_build_slp_tree_1): Prevent possibly
trapping ops in different BBs.
* gcc.dg/vect/bb-slp-pr100778-1.c: New testcase.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions