[PowerPC][FP128] Fix the incorrect signature for math library call
authorQingShan Zhang <qshanz@cn.ibm.com>
Mon, 14 Dec 2020 07:39:06 +0000 (07:39 +0000)
committerQingShan Zhang <qshanz@cn.ibm.com>
Mon, 14 Dec 2020 07:52:56 +0000 (07:52 +0000)
commit08e287aaf39f3ab8ccfcd4535fafa1c5d99ffdf7
tree869508e212cb39bf1833784b5e555a8ca45b1fd5
parent6326b098852bea51debe415a85eebd1753151cd0
[PowerPC][FP128] Fix the incorrect signature for math library call

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.

Reviewed By: qiucf

Differential Revision: https://reviews.llvm.org/D91675
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/fp-strict-f128.ll
llvm/test/CodeGen/PowerPC/recipest.ll