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] genrecog.c: Simplify comparisons against smallconstants in insn-recog.c.


Hi Richard,

> > 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.

What do you mean by consistent?  Apply my patch?  Or don't clean up
"GET_CODE (x) == CONST_INT && INTVAL (x) == 0" any more?

Kazu Hirata


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