[PATCH] D88033: [SVE][CodeGen] Legalisation of integer -> floating point conversions

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 09:52:44 PDT 2020


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

Splitting the operand of a scalable [S|U]INT_TO_FP results in a
concat_vectors operation where the operands are unpacked FP
scalable vectors (e.g. nxv2f32).
This patch adds custom lowering of concat_vectors for scalable
FP types, which casts the operands to packed vectors with
reinterpret_cast and concatenates them with uzp1.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88033

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/test/CodeGen/AArch64/sve-split-fcvt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88033.293206.patch
Type: text/x-patch
Size: 7972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200921/bc454536/attachment-0001.bin>


More information about the llvm-commits mailing list