Displaying 5 results from an estimated 5 matches for "sra_i128".
2017 Oct 07
2
Bug 20871 -- is there a fix or work around?
...pp
@@ -1632,10 +1632,11 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
if (!Subtarget.is64Bit()) {
// These libcalls are not available in 32-bit.
setLibcallName(RTLIB::SHL_I128, nullptr);
setLibcallName(RTLIB::SRL_I128, nullptr);
setLibcallName(RTLIB::SRA_I128, nullptr);
+ setLibcallName(RTLIB::MUL_I128, nullptr);
}
// Combine sin / cos into one node or libcall if possible.
if (Subtarget.hasSinCos()) {
setLibcallName(RTLIB::SINCOS_F32, "sincosf");
This will make the Legalizer choose the brute force approach below:
void DAGTyp...
2019 Jun 10
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...imilar for the other shift instructions):
case ISD::SRA:
Results.push_back(ExpandIntLibCall(Node, false,
RTLIB::SRA_I16,
RTLIB::SRA_I16, RTLIB::SRA_I32,
RTLIB::SRA_I64, RTLIB::SRA_I128));
I think this is a BUG by omission of necessary switch cases.
Similarly, the following ISD codes ISD::CTTZ, ISD::CTLZ, ISD::CTPOP do not define any Library calls, despite LLVM being able to fully expand them into rather large code for targets that do not natively implement them.
I regard thi...
2019 Jun 10
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...ructions):
>
> case ISD::SRA:
> Results.push_back(ExpandIntLibCall(Node, false,
> RTLIB::SRA_I16,
> RTLIB::SRA_I16, RTLIB::SRA_I32,
> RTLIB::SRA_I64, RTLIB::SRA_I128));
>
> I think this is a BUG by omission of necessary switch cases.
>
>
> Similarly, the following ISD codes ISD::CTTZ, ISD::CTLZ, ISD::CTPOP do not define any Library calls, despite LLVM being able to fully expand them into rather large code for targets that do not natively i...
2017 Oct 05
3
Bug 20871 -- is there a fix or work around?
Looks like I have run into the same issue reported in:
https://bugs.llvm.org/show_bug.cgi?id=20871
Is there a fix or work-around for it? The bug report seems to be still open.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171005/46c1282d/attachment.html>
2019 Jun 11
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...ructions):
>
> case ISD::SRA:
> Results.push_back(ExpandIntLibCall(Node, false,
> RTLIB::SRA_I16,
> RTLIB::SRA_I16, RTLIB::SRA_I32,
> RTLIB::SRA_I64, RTLIB::SRA_I128));
>
> I think this is a BUG by omission of necessary switch cases.
>
>
> Similarly, the following ISD codes ISD::CTTZ, ISD::CTLZ, ISD::CTPOP do not define any Library calls, despite LLVM being able to fully expand them into rather large code for targets that do not natively i...