[LLVMdev] Documentation of fmuladd intrinsic

Andrew Booker Andrew.Booker at arm.com
Mon Jan 14 05:25:16 PST 2013

Thanks for all the replies - it pretty much confirmed what I think I'd
worked out about how fmuladd is supposed to behave.

But my initial query wasn't asking what fmuladd did - it was asking for
the documentation about it to be clarified. Can I suggest that the
Overview section for fmuladd is changed to say the following (the key
point being the removal of the word "legal" in the description, to
avoid confusion with whether the optimisation is legal from the point
of view of the source language):

The llvm.fmuladd.* intrinsic functions represent multiply-add
expressions that can be fused if the code generator determines that the
target instruction set has support for a fused expression, and that its
use would be efficient.


Andrew Booker, Staff Software Engineer
Media Processing Division
ARM Ltd, 110 Fulbourn Road, Cambridge CB1 9NJ, UK
Tel: +44 1223 400695       Fax: +44 1223 400410

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.

More information about the llvm-dev mailing list