[all-commits] [llvm/llvm-project] 2e0fb0: [llvm][AArch64][SVE] Fold literals into math instr...

David Truby via All-commits all-commits at lists.llvm.org
Sun Oct 17 03:57:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e0fb007d63cf4d7979c6f6f577e6906145c7b95
      https://github.com/llvm/llvm-project/commit/2e0fb007d63cf4d7979c6f6f577e6906145c7b95
  Author: David Truby <david.truby at arm.com>
  Date:   2021-10-17 (Sun, 17 Oct 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    A llvm/test/CodeGen/AArch64/sve-fp-immediates-merging.ll
    A llvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith-imm.ll

  Log Message:
  -----------
  [llvm][AArch64][SVE] Fold literals into math instructions

SVE has predicated literal forms of some instructions for specific
literals, which currently are generated correctly when using ACLE
but not when those instructions are generated directly.

This adds the patterns to generate those instructions when
generating from standard LLVM IR instructions.

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




More information about the All-commits mailing list