|
@@ -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,
|