This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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'

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]