On Thu, Feb 05, 2009 at 12:34:14PM -0800, Jean Christophe Beyler wrote:
> I'm currently working on removing the constant folding and constant
> propagation because, on the architecture I'm working on, it is highly
> costly to move a constant into a register if the number is big (we can
> say over 16 bits).

But in practice most constants that cprop deals with are values like
-1, 0, 1, or 2.  Wouldn't it be better to be able to constrain cprop
based on the values of the constants, than to eliminate it altogether?


Reply via email to