浏览代码

* apply OptPass1Data to neg as well

florian 3 年之前
父节点
当前提交
3a11ee9a14
共有 1 个文件被更改,包括 1 次插入0 次删除
  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,