Re: [PATCH][9/n] Merge from match-and-simplify, more patterns

2014-10-30 Thread Richard Biener
On Thu, 30 Oct 2014, Richard Biener wrote: > > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Oops, posted the wrong patch. The following is correct - I've removed the single-use restriction as no patterns would behave badly but stuff like x & x wouldn't match. Richard. 2014-10

[PATCH][9/n] Merge from match-and-simplify, more patterns

2014-10-30 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2014-10-30 Richard Biener * match.pd: Implement more patterns that simplify to a single value. * fold-const.c (fold_binary_loc): Remove them here. * tree-ssa-forwprop.c (simplify_bitwise_binary): L