On 07/17/2012 01:26 AM, Simon Atanasyan wrote:
> On Tue, Jul 17, 2012 at 8:15 AM, reed kotler<[email protected]>  wrote:
>> Hmmm...
>>
>> Seems like any kind of overloading resolution should be done by clang.
>>
>> there can be lots of issues regarding implicit conversions and other c++
>> things.
> It's not an overloading in the spirit of C++. Here is we select
> intrinsics based on an argument's value. While C++ overloading uses an
> argument's type.
>
> --
> Simon
Register is a different type.

These two inline functions are essentially inline assembly instructions 
and we should give the user what he is asking for.

They have subtly different semantics too.

Reed

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to