[llvm] 2eaa9d9 - [NFC][LangRef][FPEnv] Fix whitespace for denormal-fp-math/denormal-fp-math-f32
Cameron McInally via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 4 09:21:32 PST 2020
Author: Cameron McInally
Date: 2020-02-04T11:21:03-06:00
New Revision: 2eaa9d991d0afd3945e177d3ca0d42af04996f2c
URL: https://github.com/llvm/llvm-project/commit/2eaa9d991d0afd3945e177d3ca0d42af04996f2c
DIFF: https://github.com/llvm/llvm-project/commit/2eaa9d991d0afd3945e177d3ca0d42af04996f2c.diff
LOG: [NFC][LangRef][FPEnv] Fix whitespace for denormal-fp-math/denormal-fp-math-f32
Fix incorrect spacing for `denormal-fp-math` and `denormal-fp-math-f32`. No
other changes.
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 14dc67675d38..fffecbe1f5a8 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -1820,27 +1820,27 @@ example:
not introduce any new floating-point instructions that may trap.
``"denormal-fp-math"``
- This indicates the denormal (subnormal) handling that may be assumed
- for the default floating-point environment. This may be one of
- ``"ieee"``, ``"preserve-sign"``, or ``"positive-zero"``. If this
- is attribute is not specified, the default is ``"ieee"``. If the
- mode is ``"preserve-sign"``, or ``"positive-zero"``, denormal
- outputs may be flushed to zero by standard floating point
- operations. It is not mandated that flushing to zero occurs, but if
- a denormal output is flushed to zero, it must respect the sign
- mode. Not all targets support all modes. While this indicates the
- expected floating point mode the function will be executed with,
- this does not make any attempt to ensure the mode is
- consistent. User or platform code is expected to set the floating
- point mode appropriately before function entry.
+ This indicates the denormal (subnormal) handling that may be assumed
+ for the default floating-point environment. This may be one of
+ ``"ieee"``, ``"preserve-sign"``, or ``"positive-zero"``. If this
+ is attribute is not specified, the default is ``"ieee"``. If the
+ mode is ``"preserve-sign"``, or ``"positive-zero"``, denormal
+ outputs may be flushed to zero by standard floating point
+ operations. It is not mandated that flushing to zero occurs, but if
+ a denormal output is flushed to zero, it must respect the sign
+ mode. Not all targets support all modes. While this indicates the
+ expected floating point mode the function will be executed with,
+ this does not make any attempt to ensure the mode is
+ consistent. User or platform code is expected to set the floating
+ point mode appropriately before function entry.
``"denormal-fp-math-f32"``
- Same as ``"denormal-fp-math"``, but only controls the behavior of
- the 32-bit float type (or vectors of 32-bit floats). If both are
- are present, this overrides ``"denormal-fp-math"``. Not all targets
- support separately setting the denormal mode per type, and no
- attempt is made to diagnose unsupported uses. Currently this
- attribute is respected by the AMDGPU and NVPTX backends.
+ Same as ``"denormal-fp-math"``, but only controls the behavior of
+ the 32-bit float type (or vectors of 32-bit floats). If both are
+ are present, this overrides ``"denormal-fp-math"``. Not all targets
+ support separately setting the denormal mode per type, and no
+ attempt is made to diagnose unsupported uses. Currently this
+ attribute is respected by the AMDGPU and NVPTX backends.
``"thunk"``
This attribute indicates that the function will delegate to some other
More information about the llvm-commits
mailing list