@@ -3413,11 +3413,11 @@ memory before the call, the call may capture two components of the pointer:
34133413 whether only the fact that the address is/isn't null is captured.
34143414 * The provenance of the pointer, which is the ability to perform memory
34153415 accesses through the pointer, in the sense of the :ref:`pointer aliasing
3416- rules <pointeraliasing>`. We further distinguish whether only read acceses
3416+ rules <pointeraliasing>`. We further distinguish whether only read accesses
34173417 are allowed, or both reads and writes.
34183418
34193419For example, the following function captures the address of ``%a``, because
3420- it is compared to a pointer, leaking information about the identitiy of the
3420+ it is compared to a pointer, leaking information about the identity of the
34213421pointer:
34223422
34233423.. code-block:: llvm
@@ -3472,7 +3472,7 @@ through the return value only:
34723472However, we always consider direct inspection of the pointer address
34733473(e.g. using ``ptrtoint``) to be location-independent. The following example
34743474is *not* considered a return-only capture, even though the ``ptrtoint``
3475- ultimately only contribues to the return value:
3475+ ultimately only contributes to the return value:
34763476
34773477.. code-block:: llvm
34783478
@@ -17041,12 +17041,12 @@ and IEEE-754-2008: the result of ``minnum(-0.0, +0.0)`` may be either -0.0 or +0
1704117041
1704217042Some architectures, such as ARMv8 (FMINNM), LoongArch (fmin), MIPSr6 (min.fmt), PowerPC/VSX (xsmindp),
1704317043have instructions that match these semantics exactly; thus it is quite simple for these architectures.
17044- Some architectures have similiar ones while they are not exact equivalent. Such as x86 implements ``MINPS``,
17044+ Some architectures have similar ones while they are not exact equivalent. Such as x86 implements ``MINPS``,
1704517045which implements the semantics of C code ``a<b?a:b``: NUM vs qNaN always return qNaN. ``MINPS`` can be used
1704617046if ``nsz`` and ``nnan`` are given.
1704717047
1704817048For existing libc implementations, the behaviors of fmin may be quite different on sNaN and signed zero behaviors,
17049- even in the same release of a single libm implemention .
17049+ even in the same release of a single libm implementation .
1705017050
1705117051.. _i_maxnum:
1705217052
@@ -17101,12 +17101,12 @@ and IEEE-754-2008: the result of maxnum(-0.0, +0.0) may be either -0.0 or +0.0.
1710117101
1710217102Some architectures, such as ARMv8 (FMAXNM), LoongArch (fmax), MIPSr6 (max.fmt), PowerPC/VSX (xsmaxdp),
1710317103have instructions that match these semantics exactly; thus it is quite simple for these architectures.
17104- Some architectures have similiar ones while they are not exact equivalent. Such as x86 implements ``MAXPS``,
17104+ Some architectures have similar ones while they are not exact equivalent. Such as x86 implements ``MAXPS``,
1710517105which implements the semantics of C code ``a>b?a:b``: NUM vs qNaN always return qNaN. ``MAXPS`` can be used
1710617106if ``nsz`` and ``nnan`` are given.
1710717107
1710817108For existing libc implementations, the behaviors of fmin may be quite different on sNaN and signed zero behaviors,
17109- even in the same release of a single libm implemention .
17109+ even in the same release of a single libm implementation .
1711017110
1711117111.. _i_minimum:
1711217112
0 commit comments