[llvm-commits] [llvm] r114241 - /llvm/trunk/test/Transforms/InstCombine/fold-calls.ll

Chris Lattner clattner at apple.com
Mon Sep 20 08:56:34 PDT 2010

On Sep 20, 2010, at 8:46 AM, Rafael Espindola wrote:

>> LLVM's reliance on the host libm goes way back. Alternatives to using the
>> host libm for constant folding exist, but LLVM has not yet pursued them.
> Do we have a bug for this? Should we?

This would require writing a native "sin" implementation for APFloat, for example.  I think that handling the exceptional cases explicitly is easy, implementing the native version is more work (but clearly not intractable).


More information about the llvm-commits mailing list