[llvm] [docs] Update ir-normalizer to normalize (PR #141764)
Cullen Rhodes via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 2 01:30:02 PDT 2025
https://github.com/c-rhodes updated https://github.com/llvm/llvm-project/pull/141764
>From 03ebadb8ac6add860f6fb1dc90eede49b7c214eb Mon Sep 17 00:00:00 2001
From: Cullen Rhodes <cullen.rhodes at arm.com>
Date: Wed, 28 May 2025 13:22:11 +0000
Subject: [PATCH 1/2] [docs] Update ir-normalizer to normalize
While the class name is IRNormalizer the registered name is "normalize"
and the docs should match this.
Fixes #136347.
---
llvm/docs/Passes.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst
index 435e748199b87..20bebb0508862 100644
--- a/llvm/docs/Passes.rst
+++ b/llvm/docs/Passes.rst
@@ -554,7 +554,7 @@ 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
>From a15bfc9deeb87273c3a3f70805e808202739bc08 Mon Sep 17 00:00:00 2001
From: Cullen Rhodes <cullen.rhodes at arm.com>
Date: Mon, 2 Jun 2025 08:28:40 +0000
Subject: [PATCH 2/2] address comments
---
llvm/docs/Passes.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst
index 20bebb0508862..e297d3883c39e 100644
--- a/llvm/docs/Passes.rst
+++ b/llvm/docs/Passes.rst
@@ -555,7 +555,7 @@ An interprocedural variant of :ref:`Sparse Conditional Constant Propagation
<passes-sccp>`.
``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
More information about the llvm-commits
mailing list