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] Fix RTL DSE (PR rtl-optimization/68955, take 2)


> So shall I take out the CONST_WIDE_INT/CONST_DOUBLE handling and just
> check for CONST_INT_P instead of CONST_SCALAR_INT_P ?  I thought it is just
> easy thing to handle, though for DSE which cares about addresses it really
> does not matter.  Or can I leave it in?

Your call.

> DSE will only care about CONST_INT and +.  For minus, I thought it can be
> canonical for the minimum signed value, if it is originally subtracted (not
> the case for DSE).

OK.  And var-tracking also manipulates MINUS - CONST_INTs coming from stack 
decrements.

-- 
Eric Botcazou


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