Displaying 2 results from an estimated 2 matches for "getpaddingtyp".
Did you mean:
getpaddingtype
2012 Oct 23
0
[LLVMdev] ABI: how to let the backend know that an aggregate should be allocated on stack
...ass in registers.
> I tried to pass a struct with vector types, but the backend will expand the
> struct
> See llvm::ComputeValueVTs
> // Given a struct type, recursively traverse the elements.
>
> I tried to use indirect in Clang, it does not work out as I wish.
See MipsABIInfo::getPaddingType; a similar sort of approach should
work here. (Granted, onstack would be more convenient, but it doesn't
exist at the moment.)
-Eli
2012 Oct 23
4
[LLVMdev] ABI: how to let the backend know that an aggregate should be allocated on stack
Hi All,
I am trying to handle the Homogeneous Aggregate for ARM-VFP according to the spec:
C.1.vfp If the argument is a VFP CPRC and there are sufficient consecutive VFP registers of the appropriate type unallocated then the argument is allocated to the lowest-numbered sequence of such registers.
C.2.vfp If the argument is a VFP CPRC then any VFP registers that are unallocated are marked as