Re: [PATCH] Rotate pattern recognition in forwprop (PR tree-optimization/57157)

2013-05-10 Thread Richard Biener
On Thu, 9 May 2013, Jakub Jelinek wrote: > Hi! > > The bit_rotate: code in fold-const.c handles only a subset of rotates, > and e.g. with C++ FE when sizeof isn't folded early fold_binary often > even isn't called with something that could recognize the rotate pattern, > even if bit_rotate: has b

Re: [PATCH] Rotate pattern recognition in forwprop (PR tree-optimization/57157)

2013-05-09 Thread Marc Glisse
On Thu, 9 May 2013, Jakub Jelinek wrote: Hi! The bit_rotate: code in fold-const.c handles only a subset of rotates, and e.g. with C++ FE when sizeof isn't folded early fold_binary often even isn't called with something that could recognize the rotate pattern, even if bit_rotate: has been extend