[cfe-commits] RFC: Half floating point support

John McCall rjmccall at apple.com
Wed Oct 5 01:04:40 PDT 2011

On Oct 5, 2011, at 1:01 AM, Anton Korobeynikov wrote:
>> If you follow John's advice and do the promotion in
>> UsualUnaryConversions, it should pick up this case without extra code.
> No, it won't pick. UsualUnaryConversions are not called for x++, etc.
> Otherwise it will already pick the stuff, since UsualUnaryConversions
> does lvalue-to-rvalue conversion as the first step.

Right now, Clang's ASTs have no way to say that a ++ operation is done in a specific type; you'll need to special-case this in IR generation.


More information about the cfe-commits mailing list