diff options
Diffstat (limited to 'llvm/docs/LangRef.rst')
| -rw-r--r-- | llvm/docs/LangRef.rst | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 87e1b971605..a38356aa27e 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -10067,7 +10067,7 @@ Syntax:  :: -      <result> = phi <ty> [ <val0>, <label0>], ... +      <result> = phi [fast-math-flags] <ty> [ <val0>, <label0>], ...  Overview:  """"""""" @@ -10094,6 +10094,12 @@ deemed to occur on the edge from the corresponding predecessor block to  the current block (but after any definition of an '``invoke``'  instruction's return value on the same edge). +The optional ``fast-math-flags`` marker indicates that the phi has one +or more :ref:`fast-math-flags <fastmath>`. These are optimization hints +to enable otherwise unsafe floating-point optimizations. Fast-math-flags +are only valid for phis that return a floating-point scalar or vector +type. +  Semantics:  """"""""""  | 

