[LLVMdev] ConstantFoldBinaryFP and cross compilation

Owen Anderson resistor at mac.com
Fri Apr 26 16:46:11 PDT 2013


On Apr 26, 2013, at 4:39 PM, Dan Gohman <dan433584 at gmail.com> wrote:

> On Fri, Apr 26, 2013 at 4:20 PM, Owen Anderson <resistor at mac.com> wrote:
> 
> 
> I have the opposite problem.  I have customers who call libm functions with constants (or their LLVM intrinsic equivalents) are get very angry if they don't get constant folded, and they're not picky at all about the precision.
> 
> If, peradventure, you're using fast-math mode, then you're in a different boat.

My point is that we have clients who don't want to lose existing functionality.  Obviously it's fine to also want to support other models as well.  Also, we don't currently support fast math flags on call instructions, so the boat's not saved by that. 

--Owen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130426/d2a85797/attachment.html>


More information about the llvm-dev mailing list