[all-commits] [llvm/llvm-project] beb3a9: [AArch64][SVE] Add a commutative VSelectCommPredOr...

David Green via All-commits all-commits at lists.llvm.org
Wed Jun 7 05:18:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: beb3a9a5e65a7000299eedd5587cdb6bd47cdac3
      https://github.com/llvm/llvm-project/commit/beb3a9a5e65a7000299eedd5587cdb6bd47cdac3
  Author: David Green <david.green at arm.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sve-min-max-pred.ll

  Log Message:
  -----------
  [AArch64][SVE] Add a commutative VSelectCommPredOrPassthruPatFrags

This adds a commutative version of VSelectPredOrPassthruPatFrags (renamed from
EitherVSelectOrPassthruPatFrags) that checks both variants for commutative
operations like min/max. I have not attempted to handle fp operation that
require fast-math flags.

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




More information about the All-commits mailing list