Displaying 2 results from an estimated 2 matches for "getcmplibcallrt".
Did you mean:
getcmplibcallcc
2009 Sep 29
2
[LLVMdev] SoftenSetCCOpernads in LegalizeFloatTypes.cpp
...o provide the correct return type?
EVT RetVT = MVT::i32; // <-- here
SDValue Ops[2] = { LHSInt, RHSInt };
NewLHS = MakeLibCall(LC1, RetVT, Ops, 2, false/*sign irrelevant*/, dl);
NewRHS = DAG.getConstant(0, RetVT);
CCCode = TLI.getCmpLibcallCC(LC1);
I suggest to have a hook TLI.getCmpLibcallRT() on the lines of
TLI.getCmpLibcallCC()
Does that sound okay?
- Sanjiv
2009 Sep 29
0
[LLVMdev] SoftenSetCCOpernads in LegalizeFloatTypes.cpp
...= MVT::i32; // <-- here
>
>
> SDValue Ops[2] = { LHSInt, RHSInt };
> NewLHS = MakeLibCall(LC1, RetVT, Ops, 2, false/*sign irrelevant*/, dl);
> NewRHS = DAG.getConstant(0, RetVT);
> CCCode = TLI.getCmpLibcallCC(LC1);
>
>
> I suggest to have a hook TLI.getCmpLibcallRT() on the lines of
> TLI.getCmpLibcallCC()
>
> Does that sound okay?
I think it should just use a scheme like GetFPLibCall.
Ciao,
Duncan.