This is the mail archive of the
mailing list for the GCC project.
Re: VRP speedup
> On Sun, 2006-12-03 at 15:21 +0100, Jan Hubicka wrote:
> > + return tcmp == boolean_true_node;
> I would not do that, I would just do integer_onep (tcmp).
> As I don't trust fold_binary_to_constant returning always
It is what old code did and I must say I can't figure out way how the
fold_binary_to_constant can correctly behave otherwise. Perhaps instead
of extra function call on the quite hot code, we can add gcc_assert that
integer_one_p is equivalent to this test?
> Andrew Pinski