[PATCH] D91757: [FP128] Expand the cast operations as libcall

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 18:42:41 PST 2020


steven.zhang created this revision.
steven.zhang added reviewers: craig.topper, RKSimon, uweigand, qiucf, PowerPC.
Herald added subscribers: kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
steven.zhang requested review of this revision.

The legalizer miss to expand the cast operation(sint_to_fp, fp_to_sint, fp_extend, fp_round etc) as libcall. PowerPC need it to handle the IEEE Long double for Power8.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91757

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/f128-conv.ll
  llvm/test/CodeGen/PowerPC/f128-rounding.ll
  llvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91757.306281.patch
Type: text/x-patch
Size: 34225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/88535f87/attachment-0001.bin>


More information about the llvm-commits mailing list