[PATCH] D81918: [PowerPC] Support lowering int-to-fp on ppc_fp128

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 16 02:43:40 PDT 2020


qiucf created this revision.
qiucf added reviewers: nemanjai, craig.topper, kbarton, jsji, PowerPC, steven.zhang, uweigand.
Herald added subscribers: llvm-commits, shchenz, hiraditya.
Herald added a project: LLVM.
qiucf added a parent revision: D81669: [PowerPC] Support constrained fp operation for scalar sitofp/uitofp.

D70867 <https://reviews.llvm.org/D70867> introduced support for expanding most `ppc_fp128` operations. But `sitofp/uitofp` is missing. This patch adds that after D81669 <https://reviews.llvm.org/D81669>.

Note: There's still issue about chain for `ppc_fp128` on SPE subtargets. But I'm not sure if the type is fully supported on SPE.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81918

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81918.270997.patch
Type: text/x-patch
Size: 19415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200616/feb3b844/attachment.bin>


More information about the llvm-commits mailing list