This is the mail archive of the gcc-patches@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: [patch] More TRUNC_MOD_EXPR folding


Jeffrey A Law <law@redhat.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
> in.
> 
> jeff
 
 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.

-- 
Thanks,
Jim

http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim


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