[llvm] e1567e7 - [docs] Fix typos in the 'CodeGenerator' doc
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 21:48:29 PDT 2022
Author: Youngsuk Kim
Date: 2022-04-26T21:47:12-07:00
New Revision: e1567e771b8943861f5c886773b19ebfbf395ac5
URL: https://github.com/llvm/llvm-project/commit/e1567e771b8943861f5c886773b19ebfbf395ac5
DIFF: https://github.com/llvm/llvm-project/commit/e1567e771b8943861f5c886773b19ebfbf395ac5.diff
LOG: [docs] Fix typos in the 'CodeGenerator' doc
NFC.
Differential Revision: https://reviews.llvm.org/D124305
Added:
Modified:
llvm/docs/CodeGenerator.rst
Removed:
################################################################################
diff --git a/llvm/docs/CodeGenerator.rst b/llvm/docs/CodeGenerator.rst
index 0ea6481ba41c1..2efb466f62684 100644
--- a/llvm/docs/CodeGenerator.rst
+++ b/llvm/docs/CodeGenerator.rst
@@ -510,7 +510,7 @@ The ``MachineFunction`` class
The ``MachineFunction`` class contains a list of machine basic blocks
(:raw-html:`<tt>` `MachineBasicBlock`_ :raw-html:`</tt>` instances). It
corresponds one-to-one with the LLVM function input to the instruction selector.
-In addition to a list of basic blocks, the ``MachineFunction`` contains a a
+In addition to a list of basic blocks, the ``MachineFunction`` contains a
``MachineConstantPool``, a ``MachineFrameInfo``, a ``MachineFunctionInfo``, and
a ``MachineRegisterInfo``. See ``include/llvm/CodeGen/MachineFunction.h`` for
more information.
@@ -2283,7 +2283,7 @@ taken when considering them.
Instruction naming
^^^^^^^^^^^^^^^^^^
-An instruction name consists of the base name, a default operand size, and a a
+An instruction name consists of the base name, a default operand size, and a
character per operand with an optional special size. For example:
::
More information about the llvm-commits
mailing list