File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -1786,7 +1786,8 @@ example:
1786
1786
requires strict floating-point semantics. LLVM will not attempt any
1787
1787
optimizations that require assumptions about the floating-point rounding
1788
1788
mode or that might alter the state of floating-point status flags that
1789
- might otherwise be set or cleared by calling this function.
1789
+ might otherwise be set or cleared by calling this function. LLVM will
1790
+ not introduce any new floating-point instructions that may trap.
1790
1791
``"thunk"``
1791
1792
This attribute indicates that the function will delegate to some other
1792
1793
function with a tail call. The prototype of a thunk should not be used for
@@ -15155,6 +15156,17 @@ example, a series of FP operations that each may raise exceptions may be
15155
15156
vectorized into a single instruction that raises each unique exception a single
15156
15157
time.
15157
15158
15159
+ Required Function Attributes:
15160
+ """""""""""""""""""""""""""""
15161
+
15162
+ Proper :ref:`function attributes <fnattrs>` usage is required for the
15163
+ constrained intrinsics to function correctly.
15164
+
15165
+ All function *calls* done in a function that uses constrained floating
15166
+ point intrinsics must have the ``strictfp`` attribute.
15167
+
15168
+ All function *definitions* that use constrained floating point intrinsics
15169
+ must have the ``strictfp`` attribute.
15158
15170
15159
15171
'``llvm.experimental.constrained.fadd``' Intrinsic
15160
15172
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments