This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Difference between {expand,fold,simplify}_builtin_foo ???


On Mon, 2004-09-20 at 12:45, Kaveh R. Ghazi wrote:
>  > The key difference between them is the simplify_ variant is not
>  > allowed to generate RTL nor create non-gimple code.
>  > jeff
> 
> Ok thanks, that explains expand_builtin_* vs. simplify_builtin_*.
> 
> However what about fold_builtin_*?  Both fold_builin_* and
> simplify_builtin_* return trees.  Are the fold_ variants allowed to
> produce non-gimple?  Or are fold_builtin_* and simplify_builtin_*
> really the same and we should canonicalize the naming convention?
I didn't realize we had a 3rd routine.  Ugh.  I don't know which is
preferred.  Sigh.

jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]