[clang-tools-extra] [LLVM] Add IRNormalizer Pass (PR #68176)

Michal Paszkowski via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 00:18:00 PDT 2023


================
@@ -543,6 +543,15 @@ variables with initializers are marked as internal.
 An interprocedural variant of :ref:`Sparse Conditional Constant Propagation
 <passes-sccp>`.
 
+``ir-normalizer``: Transforms IR into a canonical form that's easier to diff
+--------------------------------------------------------
+
+This pass aims to transform LLVM Modules into a canonical form by reordering and
+renaming instructions while preserving the same semantics. The canonicalizer makes
----------------
michalpaszkowski wrote:

canonicalizer -> normalizer

https://github.com/llvm/llvm-project/pull/68176


More information about the cfe-commits mailing list