[LLVMdev] Type Legalizer - Load handling problem
Duncan Sands
baldrick at free.fr
Fri Aug 29 08:28:43 PDT 2008
> > LOAD node has two values but the assertion checks N->getNumValues() == 1
> > which is not letting us change load operation.
>
> Yup, in this case you need to return an SDValue with null Val field,
> and take care of replacing values yourself.
That said, it looks like it is done this way because no-one needed
anything more. It could easily be changed to handle the case of any
number of return values.
Ciao,
Duncan.
More information about the llvm-dev
mailing list