diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-05-19 18:21:59 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-05-20 05:04:48 +0000 |
commit | 3b537ab625ee7dac4f1d601b55b5b623d61d1119 (patch) | |
tree | 7a8160bf8d7641f1c4b5fa508daf96e9f0811035 /gcc/tree-vectorizer.h | |
parent | 8f4929df23f1952190530dd81e980dd447fe8773 (diff) | |
download | gcc-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