Displaying 1 result from an estimated 1 matches for "bb9f3858".
2016 Feb 24
2
Invalid number for the given node in SelectionDAG
I'm trying to replace SDIvRem (whch returns two i16 types) with a custom
that returns i32 or i16. I am getting the Assertion (!Node || ResNo <
Node->getNumValues() && "Invalid result number for the given node!")
Seems that it doesn't like returning one value but how do you return more
than one value?
I am doing this in the LowerOperation for the case SDIVREM and a