[PATCH] D94702: [AArch64][GlobalISel] Add selection support for fpr bank source variants of G_SITOFP and G_UITOFP.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 11:29:15 PST 2021


aemerson created this revision.
aemerson added a reviewer: paquette.
aemerson added a project: LLVM.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
aemerson requested review of this revision.

In order to import patterns for these, we need to define new ops that can map to the AArch64ISD::[SU]ITOF nodes. We then transform fpr->fpr variants of the generic opcodes to these custom opcodes in preisel-lowering. We have to do it here and not the PostLegalizer combiner because this has to run after regbankselect.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94702

Files:
  llvm/lib/Target/AArch64/AArch64InstrGISel.td
  llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/select-fp-casts.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94702.316717.patch
Type: text/x-patch
Size: 3977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/ba9c03d5/attachment.bin>


More information about the llvm-commits mailing list