[cfe-dev] Passing StructType arguments directly
Chris Lattner
clattner at apple.com
Thu Sep 22 11:57:13 PDT 2011
On Sep 22, 2011, at 1:51 AM, David Chisnall wrote:
> On 22 Sep 2011, at 07:09, Chris Lattner wrote:
>
>> I don't get it. You're telling me two contradictory things:
>>
>> 1. You want target independent code coming out of the front end.
>> 2. You want to match the target ABI.
>>
>> Which is it?
>
> They are not contradictory. He wants target-independent IR from the front end. Then he wants a target-specific lowering pass to transform it into IR for the target ABI. This isn't an unusual requirement, which is why it was a design goal for TENDRA and the SGI compiler suite.
I agree that they are not contradictory in theory. However, in LLVM today they are contradictory in practice.
-Chris
More information about the cfe-dev
mailing list