[all-commits] [llvm/llvm-project] ada9ab: [AArch64] Adjust operand sequence for Add+Sub to c...

chenglin.bi via All-commits all-commits at lists.llvm.org
Wed Oct 26 19:05:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ada9ab610727917561370e976eaea26dbbc20cce
      https://github.com/llvm/llvm-project/commit/ada9ab610727917561370e976eaea26dbbc20cce
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/addsub.ll

  Log Message:
  -----------
  [AArch64] Adjust operand sequence for Add+Sub to combine more inline shift

((X >> C) - Y) + Z --> (Z - Y) + (X >> C)

Fix AArch part: #55714

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D136158




More information about the All-commits mailing list