Re: [genmatch] Introduce reverse keyword

2016-10-17 Thread Richard Biener
On Sun, 16 Oct 2016, Prathamesh Kulkarni wrote: > Hi Richard, > This patch makes a minor change to genmatch to add reverse keyword for > iterating > over user-defined operators in reverse in for-stmt and in > define_operator_list. > eg: > (for op (bit_and bit_ior) > rop (reverse (op)) >

[genmatch] Introduce reverse keyword

2016-10-15 Thread Prathamesh Kulkarni
Hi Richard, This patch makes a minor change to genmatch to add reverse keyword for iterating over user-defined operators in reverse in for-stmt and in define_operator_list. eg: (for op (bit_and bit_ior) rop (reverse (op)) ...) Verified gimple-match.c and generic-match.c remain unchanged wi