aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-05-19 18:21:59 +0000
committerAndrew Pinski <apinski@marvell.com>2023-05-20 05:04:48 +0000
commit3b537ab625ee7dac4f1d601b55b5b623d61d1119 (patch)
tree7a8160bf8d7641f1c4b5fa508daf96e9f0811035 /gcc/tree-vectorizer.h
parent8f4929df23f1952190530dd81e980dd447fe8773 (diff)
downloadgcc-3b537ab625ee7dac4f1d601b55b5b623d61d1119.zip
gcc-3b537ab625ee7dac4f1d601b55b5b623d61d1119.tar.gz
gcc-3b537ab625ee7dac4f1d601b55b5b623d61d1119.tar.bz2
Use get_def_for_expr in fold_single_bit_test
The code in fold_single_bit_test, checks if the inner was a right shift and improve the bitnum based on that. But since the inner will always be a SSA_NAME at this point, the code is dead. Move it over to use the helper function get_def_for_expr instead. gcc/ChangeLog: * expr.cc (fold_single_bit_test): Use get_def_for_expr instead of checking the inner's code.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions