[PATCH] D124305: [docs] Fix typo in 'CodeGenerator' docs

Min-Yih Hsu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 21:48:31 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe1567e771b89: [docs] Fix typos in the 'CodeGenerator' doc (authored by JOE1994, committed by myhsu).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124305/new/

https://reviews.llvm.org/D124305

Files:
  llvm/docs/CodeGenerator.rst


Index: llvm/docs/CodeGenerator.rst
===================================================================
--- llvm/docs/CodeGenerator.rst
+++ llvm/docs/CodeGenerator.rst
@@ -510,7 +510,7 @@
 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 @@
 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:
 
 ::


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124305.425416.patch
Type: text/x-patch
Size: 1041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220427/636e3955/attachment.bin>


More information about the llvm-commits mailing list