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: [GSoC][match-and-simplify] use integral_op_p


On Sun, Jul 13, 2014 at 7:23 PM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> Hi,
>    This patch uses integral_op_p instead of
> if (INTEGRAL_TYPE_P (TREE_TYPE (@0)))
>
> * match.pd: Remove INTEGRAL_TYPE_P (TREE_TYPE (@0)) in bitwise
> patterns and use integral_op_p@0

Hmm, so this removes if-exprs and instead uses predicates in the match.
That's probably good as then multiple evaluations of the same predicate
can be avoided in case multiple patterns share the same bit in the
decision tree.

Applied.

Thanks,
Richard.

> Thanks and Regards,
> Prathamesh


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