[all-commits] [llvm/llvm-project] a8874c: [AArch64][SVE] Add patterns for VSELECT of immedia...

Eli Friedman via All-commits all-commits at lists.llvm.org
Mon May 11 17:05:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8874c76e8ae9ca67f6806f4c27ac8ba94232a21
      https://github.com/llvm/llvm-project/commit/a8874c76e8ae9ca67f6806f4c27ac8ba94232a21
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

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

  Log Message:
  -----------
  [AArch64][SVE] Add patterns for VSELECT of immediates.

This covers forms involving "CPY (immediate, zeroing)".

This doesn't handle the case where the operands are reversed, and the
condition is freely invertible.  Not sure how to handle that.  Maybe a
DAGCombine.

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




More information about the All-commits mailing list