[PATCH] D93050: [SVE][CodeGen] Lower scalable floating-point vector reductions

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 10 09:32:04 PST 2020


kmclaughlin created this revision.
kmclaughlin added reviewers: sdesmalen, cameron.mcinally, paulwalker-arm, efriedma.
Herald added subscribers: NickHung, psnobl, hiraditya, tschuett.
kmclaughlin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changes in this patch:

- Minor changes to the LowerVECREDUCE_SEQ_FADD function added by @cameron.mcinally to also work for scalable types
- Added TableGen patterns for FP reductions with unpacked types (nxv2f16, nxv4f16 & nxv2f32)
- Asserts added to expandFMINNUM_FMAXNUM & expandVecReduceSeq for scalable types


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93050

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-fp-reduce.ll
  llvm/test/CodeGen/AArch64/sve-split-fp-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93050.310937.patch
Type: text/x-patch
Size: 16033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201210/7477ca39/attachment-0001.bin>


More information about the llvm-commits mailing list