Re: [PATCH 2/2] Handle const_int in expand_single_bit_test

2023-06-06 Thread Jeff Law via Gcc-patches
On 6/4/23 23:53, Andrew Pinski via Gcc-patches wrote: After expanding directly to rtl instead of creating a tree, we could end up with a const_int which is not ready to be handled by extract_bit_field. So need to the constant folding here instead. OK? bootstrapped and tested on x86_64-linux-g

[PATCH 2/2] Handle const_int in expand_single_bit_test

2023-06-04 Thread Andrew Pinski via Gcc-patches
After expanding directly to rtl instead of creating a tree, we could end up with a const_int which is not ready to be handled by extract_bit_field. So need to the constant folding here instead. OK? bootstrapped and tested on x86_64-linux-gnu with no regressions. PR middle-end/110117 gcc/