This is the mail archive of the
mailing list for the GCC project.
Re: [patch] genrecog.c: Simplify comparisons against small constants in insn-recog.c.
On Fri, Jan 30, 2004 at 06:38:53AM -0700, Roger Sayle wrote:
> Isn't this simply an extension of the cleanup
> "GET_CODE (x) == CONST_INT && XWINT (x, 0) == 0" to "x == const0_rtx"?
Yes, it is. I suppose for that, we might as well be consistent.
> It would also be nice if we could somehow mark the const_int_rtx array
> as const or unchanging once initialized?
I can't think of any way.