[llvm] 03eddbc - [doc] Typo fix in NewPassManager.rst

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


Author: Miguel Raz Guzmán Macedo
Date: 2021-10-29T13:11:11-07:00
New Revision: 03eddbc714116eb7748eae66d61197db1f2ad7c4

URL: https://github.com/llvm/llvm-project/commit/03eddbc714116eb7748eae66d61197db1f2ad7c4
DIFF: https://github.com/llvm/llvm-project/commit/03eddbc714116eb7748eae66d61197db1f2ad7c4.diff

LOG: [doc] Typo fix in NewPassManager.rst

Simple typo fix.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D112780

Added: 
    

Modified: 
    llvm/docs/NewPassManager.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/NewPassManager.rst b/llvm/docs/NewPassManager.rst
index 81886857aa8d..cedd2c7e16fa 100644
--- a/llvm/docs/NewPassManager.rst
+++ b/llvm/docs/NewPassManager.rst
@@ -63,7 +63,7 @@ can only contain function passes:
   // 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.


        


More information about the llvm-commits mailing list