Skip to content

Commit 39207b5

Browse files
author
git apple-llvm automerger
committed
Merge commit '2eaa9d991d0a' from llvm.org/master into apple/master
2 parents e1f0f8c + 2eaa9d9 commit 39207b5

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

llvm/docs/LangRef.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,27 +1820,27 @@ example:
18201820
not introduce any new floating-point instructions that may trap.
18211821

18221822
``"denormal-fp-math"``
1823-
This indicates the denormal (subnormal) handling that may be assumed
1824-
for the default floating-point environment. This may be one of
1825-
``"ieee"``, ``"preserve-sign"``, or ``"positive-zero"``. If this
1826-
is attribute is not specified, the default is ``"ieee"``. If the
1827-
mode is ``"preserve-sign"``, or ``"positive-zero"``, denormal
1828-
outputs may be flushed to zero by standard floating point
1829-
operations. It is not mandated that flushing to zero occurs, but if
1830-
a denormal output is flushed to zero, it must respect the sign
1831-
mode. Not all targets support all modes. While this indicates the
1832-
expected floating point mode the function will be executed with,
1833-
this does not make any attempt to ensure the mode is
1834-
consistent. User or platform code is expected to set the floating
1835-
point mode appropriately before function entry.
1823+
This indicates the denormal (subnormal) handling that may be assumed
1824+
for the default floating-point environment. This may be one of
1825+
``"ieee"``, ``"preserve-sign"``, or ``"positive-zero"``. If this
1826+
is attribute is not specified, the default is ``"ieee"``. If the
1827+
mode is ``"preserve-sign"``, or ``"positive-zero"``, denormal
1828+
outputs may be flushed to zero by standard floating point
1829+
operations. It is not mandated that flushing to zero occurs, but if
1830+
a denormal output is flushed to zero, it must respect the sign
1831+
mode. Not all targets support all modes. While this indicates the
1832+
expected floating point mode the function will be executed with,
1833+
this does not make any attempt to ensure the mode is
1834+
consistent. User or platform code is expected to set the floating
1835+
point mode appropriately before function entry.
18361836

18371837
``"denormal-fp-math-f32"``
1838-
Same as ``"denormal-fp-math"``, but only controls the behavior of
1839-
the 32-bit float type (or vectors of 32-bit floats). If both are
1840-
are present, this overrides ``"denormal-fp-math"``. Not all targets
1841-
support separately setting the denormal mode per type, and no
1842-
attempt is made to diagnose unsupported uses. Currently this
1843-
attribute is respected by the AMDGPU and NVPTX backends.
1838+
Same as ``"denormal-fp-math"``, but only controls the behavior of
1839+
the 32-bit float type (or vectors of 32-bit floats). If both are
1840+
are present, this overrides ``"denormal-fp-math"``. Not all targets
1841+
support separately setting the denormal mode per type, and no
1842+
attempt is made to diagnose unsupported uses. Currently this
1843+
attribute is respected by the AMDGPU and NVPTX backends.
18441844

18451845
``"thunk"``
18461846
This attribute indicates that the function will delegate to some other

0 commit comments

Comments
 (0)