[LLVMdev] Newbie: Target Lowering info.
Evan Cheng
evan.cheng at apple.com
Mon Nov 26 16:11:50 PST 2007
On Nov 24, 2007, at 7:28 PM, Sanjiv Gupta wrote:
> Could anybody guide me what information do I need to know about my
> target in order to provide the target lowering info to the llvm DAG
> generator? We do not have any fixed registers for argument passing.
> Everything including the formal and actual arguments will take part in
> a global interprocedural regalloc.
You don't have to formally specify calling convention. For example,
ARM backend does not have a ARMCallingConv.td file, all the argument
passing info are implicitly defined in the lowering code.
To start, you should specify legal register files, legal operations,
etc. See XXXISelLowering.cpp for examples.
Evan
>
>
> Any pointers to learn about this will be a great help.
> Sanjiv
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list