[LLVMdev] Type Legalizer - Load handling problem

Duncan Sands baldrick at free.fr
Tue Sep 2 00:25:37 PDT 2008


> I think we will have to go that way since I may want to replace a "store" node also
> (A store node does not produce any results). In this case ReplaceNodeWith () is my only way out.

I agree we should go that way because it is more logical.  However
you can also work around the problem by calling ReplaceNodeWith
yourself, and returning an SDValue with null node.

Ciao,

Duncan.



More information about the llvm-dev mailing list