mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 13:56:07 +00:00
[doc] Typo fix in NewPassManager.rst
Simple typo fix. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D112780
This commit is contained in:
parent
30a64c9aa5
commit
03eddbc714
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user