[all-commits] [llvm/llvm-project] b4df2b: [ARM] Combine fadd into fcmla

David Green via All-commits all-commits at lists.llvm.org
Wed Apr 5 02:31:33 PDT 2023


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

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

  Log Message:
  -----------
  [ARM] Combine fadd into fcmla

This is the MVE equivalent of https://reviews.llvm.org/D146407. It adds a
target combine for fadd(a, vcmla(b, c, d)) -> vcmla(fadd(a, b), c, d), pushing
the fadd into the operands of the fcmla, which can help simplify away some
additions.

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




More information about the All-commits mailing list