[PATCH] D112780: [doc] Typo fix in NewPassManager.rst
Miguel Raz Guzmán Macedo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 28 21:11:54 PDT 2021
miguelraz created this revision.
Herald added a subscriber: awarzynski.
miguelraz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Simple typo fix.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112780
Files:
llvm/docs/NewPassManager.rst
Index: llvm/docs/NewPassManager.rst
===================================================================
--- llvm/docs/NewPassManager.rst
+++ llvm/docs/NewPassManager.rst
@@ -63,7 +63,7 @@
// InstSimplifyPass is a function pass
FPM.addPass(InstSimplifyPass());
-If you want add a loop pass that runs on all loops in a function to a
+If you want to add a loop pass that runs on all loops in a function to a
``FunctionPassManager``, the loop pass must be wrapped in a function pass
adaptor that goes through all the loops in the function and runs the loop
pass on each one.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112780.383233.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211029/ff7311d2/attachment.bin>
More information about the llvm-commits
mailing list