mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-24 16:49:44 +02:00
* patch by Nico Erfurth to remove superfluouse moves
git-svn-id: trunk@21422 -
This commit is contained in:
parent
c348b6f2cc
commit
fbc77b74c2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user