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)) > ...) > > Verified gimple-match.c and generic-match.c remain unchanged with patch. > Bootstrap+test in progress on x86_64-unknown-linux-gnu. > OK to commit if passes ?
Hmm. This is a very special thing that will only be useful for two-entry operator lists. So I don't think it's any clearer, instead it complicates the IL giving you two choices to do the same thing ... Richard. > Thanks, > Prathamesh > -- Richard Biener <rguent...@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)