This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Difference between {expand,fold,simplify}_builtin_foo ???
> 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?
If so, which is preferred?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu