[LLVMdev] "correct" way to implement a call

Chris Lattner sabre at nondot.org
Fri Jul 14 18:47:35 PDT 2006


On Fri, 14 Jul 2006, [UTF-8] Rafael Esp?ndola wrote:
> Currently, Alpha, PowerPC and X86 implement LowerFORMAL_ARGUMENTS.
> PowerPC and X86 lower ISD::CALL in LowerOperation. Alpha implements
> custom select. What is the preferred way to implement this?

The preferred way to handle this is to implement it in 
XXXTargetLowering::LowerOperation like PPC/X86/Alpha do.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list