[llvm-commits] [llvm-gcc-4.0] r42134 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

Dale Johannesen dalej at apple.com
Wed Sep 19 07:42:46 PDT 2007


On Sep 19, 2007, at 7:34 AM, Duncan Sands wrote:

> Hi Dale,
>
>> +  case BUILT_IN_SQRTL:
>> +    return false;   // treat long double as normal call
>>    case BUILT_IN_SQRT:
>>    case BUILT_IN_SQRTF:
>> -  case BUILT_IN_SQRTL:
>>      // If errno math has been disabled, expand these to llvm.sqrt  
>> calls.
>
> what's the problem here?

Code downstream, starting with EmitBuiltinUnaryFPOp, is not ready for  
long double functions.  This is not the best or a permanent fix, but  
correct for the moment.




More information about the llvm-commits mailing list