[cfe-commits] r56051 - /cfe/trunk/lib/CodeGen/CGCall.cpp

Matthijs Kooijman matthijs at stdin.nl
Mon Oct 6 08:28:33 PDT 2008


Hi Daniel,

>   - As a test, enable basic usage for some common x86-32 cases. This
>     increases our x86-32 compliance (on other targets our compliance
>     will just be broken in a different way).
It seems that this coercion happening now is only correct for x86? For our
(custom) backend, this is not wanted and even breaks (because this conversion
of structs to integer return types confuses scalarrepl later on, after
inlining).

Would it make sense to do this in more per-backend manner, or at least allow
the TargetInfo to disable this?

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20081006/527e5b50/attachment.sig>


More information about the cfe-commits mailing list