[PATCH] D99074: [llvm][AArch64][SVE] Fold literals into math instructions

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 06:15:06 PDT 2021


DavidTruby created this revision.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
DavidTruby requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.

Co-authored-by: Sander De Smalen <sander.desmalen at arm.com>
Co-authored-by: Cullen Rhodes <cullen.rhodes at arm.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99074

Files:
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-fp-immediates-merging.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99074.332264.patch
Type: text/x-patch
Size: 61015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210322/62ba10cc/attachment-0001.bin>


More information about the llvm-commits mailing list