search for: expandintlibcall

Displaying 3 results from an estimated 3 matches for "expandintlibcall".

2019 Jun 10
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...can’t be selected. The problem is in SelectionDAGLegalize::ConvertNodeToLibcall because there’s no switch case for any of the Shift instructions. The problem gets solved by just adding switch cases like this (and similar 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 follow...
2019 Jun 10
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...oblem is in SelectionDAGLegalize::ConvertNodeToLibcall because there’s no switch case for any of the Shift instructions. > > The problem gets solved by just adding switch cases like this (and similar 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...
2019 Jun 11
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...oblem is in SelectionDAGLegalize::ConvertNodeToLibcall because there’s no switch case for any of the Shift instructions. > > The problem gets solved by just adding switch cases like this (and similar 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...