[all-commits] [llvm/llvm-project] 7abf7d: [AArch64] Add combine for add(udot(0, x, y), z) ->...

David Green via All-commits all-commits at lists.llvm.org
Mon Mar 1 04:54:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7abf7dd5efe257b5e7ff72199aa513e7a513b742
      https://github.com/llvm/llvm-project/commit/7abf7dd5efe257b5e7ff72199aa513e7a513b742
  Author: David Green <david.green at arm.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

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

  Log Message:
  -----------
  [AArch64] Add combine for add(udot(0, x, y), z) -> udot(z, x, y).

Given a zero input for a udot, an add can be folded in to take the place
of the input, using thte addition that the instruction naturally
performs.

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




More information about the All-commits mailing list