diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -13953,10 +13953,12 @@ is equivalent to the expression a \* b + c, except that rounding will not be performed between the multiplication and addition steps if the -code generator fuses the operations. Fusion is not guaranteed, even if -the target platform supports it. If a fused multiply-add is required, the -corresponding :ref:`llvm.fma ` intrinsic function should be used -instead. This never sets errno, just as '``llvm.fma.*``'. +code generator fuses the operations. The optimizer can treat `@llvm.fmuladd` +as `fadd (fmul %a, %b), %c`, until the code generator replaces it with +a fused multiply-add. Fusion is not guaranteed, even if the target +platform supports it. If a fused multiply-add is required, the corresponding +:ref:`llvm.fma ` intrinsic function should be used instead. +This never sets errno, just as '``llvm.fma.*``'. Examples: """""""""