Re: [PATCH] Merge from match-and-simplify, remove fold_unary dispatch from fold_stmt

2014-11-03 Thread Richard Biener
On Fri, Oct 31, 2014 at 2:07 PM, Richard Biener wrote: > This implements the last pattern from fold_unary that covers > inputs that can come from a GIMPLE_UNARY_RHS assignment > and thus allows removal of the fold_unary dispatch from fold_stmt > and gimple_fold_stmt_to_constant_1. Remember that t

[PATCH] Merge from match-and-simplify, remove fold_unary dispatch from fold_stmt

2014-10-31 Thread Richard Biener
This implements the last pattern from fold_unary that covers inputs that can come from a GIMPLE_UNARY_RHS assignment and thus allows removal of the fold_unary dispatch from fold_stmt and gimple_fold_stmt_to_constant_1. Remember that to not cause regressions it is enough to cover cases that do not