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. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits