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

Dale Johannesen dalej at apple.com
Sun Sep 23 14:36:33 PDT 2007


On Sep 23, 2007, at 11:39 AM, Chris Lattner wrote:
> One problem Dale:
>
> @@ -4350,9 +4351,10 @@
> +  case BUILT_IN_POWIL:
> +    return false;   // treat long double as normal call
>     case BUILT_IN_POWI:
>     case BUILT_IN_POWIF:
> -  case BUILT_IN_POWIL:
>       Result = EmitBuiltinPOWI(exp);
>       return true;
>
> I don't think this works.  There is no "powil" function for llvm-gcc
> to fall back on.  Not handling this builtin will result in a call to
> __builtin_powil, which will fail at link-time.  I had to handle these
> explicitly here because "fold" produces these operations in some
> cases.  Try long double X*X*X with -ffast-math.

You're right.  A quick one:  is changing the Intrinsics definitions  
going to affect the bitcode format?




More information about the llvm-commits mailing list