[PATCH] Improve folding of bitwise ops feeding conditionals for single bit types

Jeff Law law@redhat.com
Thu Jun 20 12:53:00 GMT 2013


On 06/20/2013 04:49 AM, Andreas Schwab wrote:
> Jeff Law <law@redhat.com> writes:
>
>> +/* { dg-final { scan-tree-dump-times "Replaced" 8 "forwprop1"} } */
>
> $ grep -c Replaced forwprop-28.c.022t.forwprop1
> 16
>
> ;; Function test (test, funcdef_no=0, decl_uid=1388, symbol_order=0)
>
>    Replaced 'rotate_7 == 0' with '_6 == 0'
>    Replaced '_6 == 0' with 'code_5(D) != 22'
Target?

Give me enough information and I'll gladly take a look.  Give me junk 
and I'll ignore.

jeff



More information about the Gcc-patches mailing list