On 11/04/2011 09:50 AM, Eric Botcazou wrote:
+ /* If above failed and this is a single set, try to simplify the source of
+ the set given our substitution. We could perhaps try this for multiple
+ SETs, but it probably won't buy us anything. */
+ rtx addr = simplify_replace_rtx (SET_DEST (set), from, to);
What does "If above failed" refer to? Again "source" instead of "destination".
What about
/* Registers can also appear as uses in SET_DEST if it is a MEM. We
could perhaps try this for multiple SETs, but it probably won't
buy us anything. */
?
Georg, can you put it all together into a v2?
Paolo