[PATCH] D112780: [doc] Typo fix in NewPassManager.rst

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 29 13:11:18 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG03eddbc71411: [doc] Typo fix in NewPassManager.rst (authored by miguelraz, committed by aeubanks).

Repository:
  rG LLVM Github Monorepo

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

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.383479.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211029/c57fb7d3/attachment.bin>


More information about the llvm-commits mailing list