[all-commits] [llvm/llvm-project] 2a8df8: [AArch64][SVE] Add one-use-check to EitherVSelectO...

David Green via All-commits all-commits at lists.llvm.org
Tue Jun 6 13:10:45 PDT 2023


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

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

  Log Message:
  -----------
  [AArch64][SVE] Add one-use-check to EitherVSelectOrPassthruPatFrags

As pointed out in D149968 vselect predicate patterns could do with a one-use
check to prevent multiple operations being created. This updates the
EitherVSelectOrPassthruPatFrags pattern frags used in creating predicates
min/max.

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




More information about the All-commits mailing list