aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2023-10-18 09:01:41 +0100
committerTamar Christina <tamar.christina@arm.com>2023-10-18 09:01:41 +0100
commit46937e1b47274c5f5edfc22c7e70b820c6d55530 (patch)
treee8c266c2ff01c866edceb4d9ca5cd3c298556b09 /gcc/tree-vectorizer.h
parentc51040cb43404f411d4234abe7cf1a238b6e0d34 (diff)
downloadgcc-46937e1b47274c5f5edfc22c7e70b820c6d55530.zip
gcc-46937e1b47274c5f5edfc22c7e70b820c6d55530.tar.gz
gcc-46937e1b47274c5f5edfc22c7e70b820c6d55530.tar.bz2
middle-end: refactor vectorizable_comparison to make the main body re-usable.
Vectorization of a gcond starts off essentially the same as vectorizing a comparison witht he only difference being how the operands are extracted. This refactors vectorable_comparison such that we now have a generic function that can be used from vectorizable_early_break. The refactoring splits the gassign checks and actual validation/codegen off to a helper function. No change in functionality expected. gcc/ChangeLog: * tree-vect-stmts.cc (vectorizable_comparison): Refactor, splitting body to ... (vectorizable_comparison_1): ...This.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions