> 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