Skip to content

Commit

Permalink
[docs] Fix a couple of typos
Browse files Browse the repository at this point in the history
Signed-off-by: Itay Bookstein <ibookstein@gmail.com>
  • Loading branch information
ibookstein committed Mar 19, 2022
1 parent 34110a7 commit d155c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/docs/LangRef.rst
Expand Up @@ -3962,7 +3962,7 @@ allowing the '``or``' to be folded to -1.
Safe:
%A = %X (or %Y)
%B = 42 (or %Y)
%C = %Y (if %Y is probably not poison; unsafe otherwise)
%C = %Y (if %Y is provably not poison; unsafe otherwise)
Unsafe:
%A = undef
%B = undef
Expand Down Expand Up @@ -4088,7 +4088,7 @@ operations such as :ref:`add <i_add>` with the ``nsw`` flag can produce
a poison value.

Most instructions return '``poison``' when one of their arguments is
'``poison``'. A notable expection is the :ref:`select instruction <i_select>`.
'``poison``'. A notable exception is the :ref:`select instruction <i_select>`.
Propagation of poison can be stopped with the
:ref:`freeze instruction <i_freeze>`.

Expand Down

0 comments on commit d155c7d

Please sign in to comment.