diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-11-29 14:47:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-11-29 14:47:28 +0000 |
commit | 4177e933b309408e69eb5561fee7a3cc5e6f8899 (patch) | |
tree | 543524ce049aecc3249f46a208b26abd8c6b0642 /gcc/tree-vectorizer.h | |
parent | ce19a4822794992097deab96bf15bf78ff481ea1 (diff) | |
download | gcc-4177e933b309408e69eb5561fee7a3cc5e6f8899.zip gcc-4177e933b309408e69eb5561fee7a3cc5e6f8899.tar.gz gcc-4177e933b309408e69eb5561fee7a3cc5e6f8899.tar.bz2 |
Make vectorizable_operation punt early on codes it doesn't handle
vectorizable_operation returned false for codes that are handled by
vectorizable_shift, but only after it had already done a lot of work.
Checking earlier should be more efficient and avoid polluting the logs
with duplicate info.
Also, there was no such early-out for comparisons or COND_EXPRs.
Fixing that avoids a false scan-tree-dump hit with a later patch.
2019-11-29 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* tree-vect-stmts.c (vectorizable_operation): Punt early
on codes that are handled elsewhere.
From-SVN: r278848
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions