aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-11-30 09:52:28 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2021-11-30 09:52:28 +0000
commit8de7958fbd126528c5a5a95a068c0692f6a643cc (patch)
tree6143646e01e77f6bfb687c2fe138dd8553e0abee /gcc/tree-if-conv.c
parent8bb81b3c4945dbae8d490e7a4054ddeb5a3b506c (diff)
downloadgcc-8de7958fbd126528c5a5a95a068c0692f6a643cc.zip
gcc-8de7958fbd126528c5a5a95a068c0692f6a643cc.tar.gz
gcc-8de7958fbd126528c5a5a95a068c0692f6a643cc.tar.bz2
vect: Use code_helper when building SLP nodes
This patch uses code_helper to represent the common (and alternative) operations when building an SLP node. It's not much of a saving on its own, but it helps with later patches. gcc/ * tree-vect-slp.c (vect_build_slp_tree_1): Use code_helper to record the operations performed by statements, only using CALL_EXPR for things that don't map to built-in or internal functions. For shifts, require all shift amounts to be equal if optab_vector is not supported but optab_scalar is.
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions