* patch by Nico Erfurth to remove superfluouse moves

git-svn-id: trunk@21422 -
This commit is contained in:
florian 2012-05-28 21:58:06 +00:00
parent c348b6f2cc
commit fbc77b74c2

View File

@ -512,6 +512,12 @@ Implementation
end;
end;
end;
{
Often we see shifts and then a superfluous mov to another register
In the future this might be handled in RedundantMovProcess when it uses RegisterTracking
}
if GetNextInstruction(p, hp1) then
RemoveSuperfluousMove(p, hp1, 'MovMov2Mov');
end;
A_ADD,
A_ADC,