[llvm] d155c7d - [docs] Fix a couple of typos
Itay Bookstein via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 19 11:25:26 PDT 2022
Author: Itay Bookstein
Date: 2022-03-19T20:24:38+02:00
New Revision: d155c7da5135467705d6d8929c02303e36aeb5db
URL: https://github.com/llvm/llvm-project/commit/d155c7da5135467705d6d8929c02303e36aeb5db
DIFF: https://github.com/llvm/llvm-project/commit/d155c7da5135467705d6d8929c02303e36aeb5db.diff
LOG: [docs] Fix a couple of typos
Signed-off-by: Itay Bookstein <ibookstein at gmail.com>
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 4b2315a46ac71..a765d32a42099 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -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
@@ -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>`.
More information about the llvm-commits
mailing list