[LLVMdev] Type legalization of call and return

Duncan Sands baldrick at free.fr
Tue Dec 9 01:02:08 PST 2008


Hi,

> In LLVM, responsibility of legalizing all the illegal types lies on type
> legalizer. 
> 
> Why is type legalization of ISD::CALL (call arguments and call return)
> and ISD::RET nodes being done much earlier?
> 
> (e.g. for call in visitCall - through function LowerCallTo)

I don't know.  Perhaps the legal version is needed very early on?
Maybe Chris can answer?

Ciao,

Duncan.



More information about the llvm-dev mailing list