[all-commits] [llvm/llvm-project] b96967: [AArch64] Combine concat through rshrn

David Green via All-commits all-commits at lists.llvm.org
Wed May 3 06:49:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b96967ad172a51060ed77fdc6c46aecb168cb35e
      https://github.com/llvm/llvm-project/commit/b96967ad172a51060ed77fdc6c46aecb168cb35e
  Author: David Green <david.green at arm.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/neon-rshrn.ll

  Log Message:
  -----------
  [AArch64] Combine concat through rshrn

This tries to push the concat in trunc(concat(rshr, rshr)) into the leaves, so
that we can generate rshrn(concat). This helps improve the codegen for small
types, using the existing rshrn patterns.

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




More information about the All-commits mailing list