]> gcc.gnu.org Git - gcc.git/commit
Use BIT_FIELD_REF inside fold_single_bit_test
authorAndrew Pinski <apinski@marvell.com>
Fri, 19 May 2023 19:44:35 +0000 (19:44 +0000)
committerAndrew Pinski <apinski@marvell.com>
Sat, 20 May 2023 05:04:50 +0000 (05:04 +0000)
commitc5df248509b489364c573e8b7f5f4c2fdb87f5b4
treec1d1b22c5de1589e6478a6e169907c1ef732fbe3
parent5c68c27f3d093da89cdeee2706a03b8e759f111b
Use BIT_FIELD_REF inside fold_single_bit_test

Instead of depending on combine to do the extraction,
Let's create a tree which will expand directly into
the extraction. This improves code generation on some
targets.

gcc/ChangeLog:

* expr.cc (fold_single_bit_test): Use BIT_FIELD_REF
instead of shift/and.
gcc/expr.cc
This page took 0.061267 seconds and 5 git commands to generate.