This is the mail archive of the
mailing list for the GCC project.
Re: [patch] More TRUNC_MOD_EXPR folding
Jeffrey A Law <email@example.com> writes:
> The transformations in VRP use range data that is not currently
> available to the folder.
> The stuff that was added to the folder is a trivial case that really,
> really, really is better handled by the VRP stuff I recently checked
So far all the transformations in simplify_using_ranges could be replaced if
VRP had a way to hook into tree_expr_nonnegative_p. I currently thinking
of possible ways to do this, but I am no where near any patches yet.