[PATCH] D68237: [PowerPC] Handle f16 as a storage type only

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 12:17:33 PDT 2019


nemanjai created this revision.
nemanjai added reviewers: hfinkel, jsji, PowerPC.
Herald added subscribers: shchenz, wuzish, MaskRay, kbarton.
Herald added a project: LLVM.

The PPC back end currently crashes (fails to select) with `f16` input. This patch expands it on subtargets prior to ISA 3.0 (Power9) and uses the HW conversions on Power9.


Repository:
  rL LLVM

https://reviews.llvm.org/D68237

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/handle-f16-storage-type.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68237.222470.patch
Type: text/x-patch
Size: 7609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190930/0ef7cd24/attachment.bin>


More information about the llvm-commits mailing list