Re: Move constant folds for maths functions to new file

2015-11-02 Thread Richard Biener
On Fri, Oct 30, 2015 at 4:07 PM, Richard Sandiford wrote: > The new routines operate on the built-in enum rather than on tree decls. > The idea is to extend this to handle internal functions too, with a > combined enum for both. > > The patch also moves fold_fma too, with the same prototype. The

Move constant folds for maths functions to new file

2015-10-30 Thread Richard Sandiford
The new routines operate on the built-in enum rather than on tree decls. The idea is to extend this to handle internal functions too, with a combined enum for both. The patch also moves fold_fma too, with the same prototype. The long-term plan is to replace FMA_EXPR with an internal function, for