Displaying 1 result from an estimated 1 matches for "_inreg".
Did you mean:
inreg
2014 Sep 18
2
[LLVMdev] troubles with ISD::FPOWI
...ntegerOperand Op #1: 0x56059c0: f32 = fpowi 0x5602580, 0x56061c0 [ORD=162] [ID=0]
Do not know how to promote this operator's operand!
------
This is coming out of DAGTypeLegalizer::ExpandIntegerResult().
I've tried adding some code to expand the integer operand (operand 1) via SIGN_EXTEND[_INREG] but keep getting other consistency errors.
Another approach I tried was to set the calling convention:
setLibcallCallingConv(RTLIB::POWI_F32, CallingConv::C);
Which would seem to force the call to convert the i32 --> i64 just like any other call, but that did not work either
Any suggestions...