[cfe-dev] Passing StructType arguments directly

David Chisnall csdavec at swan.ac.uk
Thu Sep 22 01:51:41 PDT 2011


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.

David



More information about the cfe-dev mailing list