Browse Source

* apply OptPass1Data to neg as well

florian 2 years ago
parent
commit
3a11ee9a14
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/aarch64/aoptcpu.pas

+ 1 - 0
compiler/aarch64/aoptcpu.pas

@@ -1062,6 +1062,7 @@ Implementation
               Result:=OptPass1Shift(p);
             A_AND:
               Result:=OptPass1And(p);
+            A_NEG,
             A_CSEL,
             A_ADD,
             A_ADC,