aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-05-19 18:36:39 +0000
committerAndrew Pinski <apinski@marvell.com>2023-05-20 05:04:49 +0000
commit9d2fdcab162365caa23e5ade92d1404737e9b600 (patch)
tree9cf4e26c46df60d929298c8f3bd55b76e91abb63 /gcc/tree-vectorizer.h
parent3b537ab625ee7dac4f1d601b55b5b623d61d1119 (diff)
downloadgcc-9d2fdcab162365caa23e5ade92d1404737e9b600.zip
gcc-9d2fdcab162365caa23e5ade92d1404737e9b600.tar.gz
gcc-9d2fdcab162365caa23e5ade92d1404737e9b600.tar.bz2
Simplify fold_single_bit_test slightly
Now the only use of fold_single_bit_test is in do_store_flag, we can change it such that to pass the inner arg and bitnum instead of building a tree. There is no code generation changes due to this change, only a decrease in GC memory that is produced during expansion. gcc/ChangeLog: * expr.cc (fold_single_bit_test): Take inner and bitnum instead of arg0 and arg1. Update the code. (do_store_flag): Don't create a tree when calling fold_single_bit_test instead just call it with the bitnum and the inner tree.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions