[all-commits] [llvm/llvm-project] 1c6dca: [AArch64][SVE] Fold vselect into predicated fmul, ...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Thu Feb 3 05:46:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c6dca96caeeb498c02f665bc55428d6f1c0edb2
      https://github.com/llvm/llvm-project/commit/1c6dca96caeeb498c02f665bc55428d6f1c0edb2
  Author: Matt Devereau <matthew.devereau at arm.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    A llvm/test/CodeGen/AArch64/sve-fp-vselect.ll

  Log Message:
  -----------
  [AArch64][SVE] Fold vselect into predicated fmul, fsub and fadd

Fold vselect with an unpredicated fmul/fsub/fadd
operand into a predicated fmul/fsub/fadd:

(vselect (p) (op (a) (b)) (a)) => (op -> (p) (a) (b))

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




More information about the All-commits mailing list