[all-commits] [llvm/llvm-project] 76ea5f: [AArch64] Combine concat(binop, binop) into binop(...

David Green via All-commits all-commits at lists.llvm.org
Thu Apr 25 04:13:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76ea5feb1f12ab35547a3aa1bc1b84d4bca69aa7
      https://github.com/llvm/llvm-project/commit/76ea5feb1f12ab35547a3aa1bc1b84d4bca69aa7
  Author: David Green <david.green at arm.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/concatbinop.ll
    M llvm/test/CodeGen/AArch64/vecreduce-add.ll

  Log Message:
  -----------
  [AArch64] Combine concat(binop, binop) into binop(concat, concat) (#89911)

This generalizes the existing combine for concat(radd, radd) to any
binops. For much the same reason as the existing code, pushing the
concat up through the tree are hopefully quicker (or the same) as the
existing two half-vector operations, and can help combine away the
concat.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list