Displaying 2 results from an estimated 2 matches for "origargindex".
2012 Nov 27
0
[LLVMdev] Problem selecting the correct registers for a calling convention
Hi Job,
> This issue is basically that I cannot find a way to distinguish two i16
> arguments from one i32. Is there a way to do this in LLVM? Preferably using
> tablegen, of course:-)
I think the property you want is "isSplit" (or, from the TableGen side
CCIfSplit).
This gets applied to the first of those i16s that are produced.
Unfortunately I can't think of much you
2012 Nov 27
2
[LLVMdev] Problem selecting the correct registers for a calling convention
I'm currently working on the MSP430 backend and I have some problems
implementing the calling convention.
It's a 16-bit architecture which dictates that arguments should be passed in
registers R15-R12. Therefore, I have something like this is a .td file:
CCIfType<[i16], CCAssignToReg<[R15W, R14W, R13W, R12W]>>
32-bit arguments should be passed in R14:R15 (R12:R13).