[PATCH] D91675: [PowerPC][FP128] Fix the incorrect signature for math library call

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 18:38:22 PST 2020


steven.zhang created this revision.
steven.zhang added reviewers: nemanjai, lei, qiucf, PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya.
Herald added a project: LLVM.
steven.zhang requested review of this revision.

The runtime library has two family library implementation for ppc_fp128 and fp128. For IBM Long double(ppc_fp128), it is suffixed with 'l', i.e(sqrtl). For IEEE Long double(fp128), it is suffixed with "ieee128" or "f128". We miss to map several libcall for IEEE Long double.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91675

Files:
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/f128-arith.ll
  llvm/test/CodeGen/PowerPC/f128-conv.ll
  llvm/test/CodeGen/PowerPC/f128-rounding.ll
  llvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
  llvm/test/CodeGen/PowerPC/recipest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91675.305953.patch
Type: text/x-patch
Size: 15041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201118/6f878259/attachment.bin>


More information about the llvm-commits mailing list