[all-commits] [llvm/llvm-project] 051738: Reland "[AArch64] Add a tablegen pattern for UZP2."

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Wed Jul 20 01:51:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 051738b08cf5e39fd274dd379147d1c19e2b5b20
      https://github.com/llvm/llvm-project/commit/051738b08cf5e39fd274dd379147d1c19e2b5b20
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2022-07-20 (Wed, 20 Jul 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    A llvm/test/CodeGen/AArch64/arm64-uzp2-combine.ll
    M llvm/test/CodeGen/AArch64/arm64-vadd.ll

  Log Message:
  -----------
  Reland "[AArch64] Add a tablegen pattern for UZP2."

Converts concat_vectors((trunc (lshr)), (trunc (lshr))) to UZP2
when the shift amount is half the width of the vector element.

Prioritize the ADDHN(2), SUBHN(2) patterns over UZP2.
Fixes https://github.com/llvm/llvm-project/issues/52919

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




More information about the All-commits mailing list