Sachin.Punyani at microchip.com
2008-Dec-03 02:37 UTC
[LLVMdev] Type legalization of call and return
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) Regards Sachin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081202/87318c45/attachment.html>
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.
On Dec 9, 2008, at 1:02 AM, Duncan Sands wrote:> 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?Types of arguments and return values have to be correct in order to meet calling convention specifications. Evan> > > Ciao, > > Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reasonably Related Threads
- [LLVMdev] Type legalization of call and return
- [LLVMdev] mblaze backend: unreachable executed
- [LLVMdev] [INCOMPLETE] [GC] Support wrapping vararg functions in statepoint
- [LLVMdev] mblaze backend: unreachable executed
- [LLVMdev] Type legalization of call and return