Re: Handling of builtins

2010-03-05 Thread Paulo J. Matos
On Wed, Mar 3, 2010 at 10:17 AM, Richard Guenther wrote: > > They are complementary.  The fold_ variants are for simplifications > throughout tree passes while the expand_ variant translates > builtin calls to target-specific RTL (with falling back to libcalls). > Thanks Richard, that's exactly w

Re: Handling of builtins

2010-03-03 Thread Richard Guenther
On Wed, Mar 3, 2010 at 10:28 AM, Paulo J. Matos wrote: > Hello, > > When handling builtin functions there's the fold_builtin and the > expand_builtin that can be defined. They seem to do their work at > different times but I am not exactly sure if they are alternatives or > complementary. > > Can'

Handling of builtins

2010-03-03 Thread Paulo J. Matos
Hello, When handling builtin functions there's the fold_builtin and the expand_builtin that can be defined. They seem to do their work at different times but I am not exactly sure if they are alternatives or complementary. Can't find anywhere explaining their use besides what's found in the inter