[all-commits] [llvm/llvm-project] 4f41a7: [ARM] Fold fadd of vcmul into vcmla

David Green via All-commits all-commits at lists.llvm.org
Wed Apr 5 03:52:18 PDT 2023


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

  Changed paths:
    M llvm/lib/Target/ARM/ARMInstrInfo.td
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    M llvm/test/CodeGen/Thumb2/mve-complex-deinterleaving-mixed-cases.ll
    M llvm/test/CodeGen/Thumb2/mve-vcmla.ll

  Log Message:
  -----------
  [ARM] Fold fadd of vcmul into vcmla

This adds an extra tablegen combine for folding fadd(a, vcmul(b, c)) into
vcmla(a, b, c), so long as the fadd is allowed to contract.

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




More information about the All-commits mailing list