Repository: llvm/llvm-project

Issue:
`IRNormalizer`'s registry name `normalize` mismatches documentation
commit 2e9f8696e9533fdd464e025bd504302fa1a22f14 introduced a pass `IRNormalizer`, whose name in PassRegistry.def is `normalize`.  However, the documentation was updated to state:

> ir-normalizer: Transforms IR into a normal form that’s easier to diff

The docs should match the implementation.


Discussion:

Patch:
diff --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst
index 435e748199b87..e297d3883c39e 100644
--- a/llvm/docs/Passes.rst
+++ b/llvm/docs/Passes.rst
@@ -554,8 +554,8 @@ variables with initializers are marked as internal.
 An interprocedural variant of :ref:`Sparse Conditional Constant Propagation
 <passes-sccp>`.
 
-``ir-normalizer``: Transforms IR into a normal form that's easier to diff
-----------------------------------------------------------------------------
+``normalize``: Transforms IR into a normal form that's easier to diff
+---------------------------------------------------------------------
 
 This pass aims to transform LLVM Modules into a normal form by reordering and
 renaming instructions while preserving the same semantics. The normalizer makes