Re: [PATCH 2/9] ifcvt: Use enum instead of transform_name string.

2019-08-08 Thread Jeff Law
On 8/6/19 2:42 PM, Richard Sandiford wrote: > Robin Dapp writes: >> This patch introduces an enum for ifcvt's various noce transformations. >> As the transformation might be queried by the backend, I find it nicer >> to allow checking for a proper type instead of a string comparison. > > TBH I th

Re: [PATCH 2/9] ifcvt: Use enum instead of transform_name string.

2019-08-06 Thread Richard Sandiford
Robin Dapp writes: > This patch introduces an enum for ifcvt's various noce transformations. > As the transformation might be queried by the backend, I find it nicer > to allow checking for a proper type instead of a string comparison. TBH I think the names of internal ifcvt routines are too leve

[PATCH 2/9] ifcvt: Use enum instead of transform_name string.

2019-08-02 Thread Robin Dapp
This patch introduces an enum for ifcvt's various noce transformations. As the transformation might be queried by the backend, I find it nicer to allow checking for a proper type instead of a string comparison. --- gcc/ifcvt.c | 46 ++-- gcc/ifcvt.h | 67 ++