Skip to content

Commit 8a12e01

Browse files
Revert "[LLVM] Add IRNormalizer Pass" (llvm#113392)
Reverts llvm#68176 Introduced BuildBot failure: llvm#68176 (comment)
1 parent b4fcaa1 commit 8a12e01

17 files changed

+0
-1289
lines changed

llvm/docs/Passes.rst

-8
Original file line numberDiff line numberDiff line change
@@ -543,14 +543,6 @@ variables with initializers are marked as internal.
543543
An interprocedural variant of :ref:`Sparse Conditional Constant Propagation
544544
<passes-sccp>`.
545545

546-
``ir-normalizer``: Transforms IR into a normal form that's easier to diff
547-
----------------------------------------------------------------------------
548-
549-
This pass aims to transform LLVM Modules into a normal form by reordering and
550-
renaming instructions while preserving the same semantics. The normalizer makes
551-
it easier to spot semantic differences while diffing two modules which have
552-
undergone two different passes.
553-
554546
``jump-threading``: Jump Threading
555547
----------------------------------
556548

llvm/docs/ReleaseNotes.md

-5
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ point (e.g. maybe you would like to give an example of the
4242
functionality, or simply have a lot to talk about), see the comment below
4343
for adding a new subsection. -->
4444

45-
* Added a new IRNormalizer pass which aims to transform LLVM modules into
46-
a normal form by reordering and renaming instructions while preserving the
47-
same semantics. The normalizer makes it easier to spot semantic differences
48-
when diffing two modules which have undergone different passes.
49-
5045
* ...
5146

5247
<!-- If you would like to document a larger change, then you can add a

llvm/include/llvm/Transforms/Utils/IRNormalizer.h

-15
This file was deleted.

llvm/lib/Passes/PassBuilder.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@
303303
#include "llvm/Transforms/Utils/EntryExitInstrumenter.h"
304304
#include "llvm/Transforms/Utils/FixIrreducible.h"
305305
#include "llvm/Transforms/Utils/HelloWorld.h"
306-
#include "llvm/Transforms/Utils/IRNormalizer.h"
307306
#include "llvm/Transforms/Utils/InjectTLIMappings.h"
308307
#include "llvm/Transforms/Utils/InstructionNamer.h"
309308
#include "llvm/Transforms/Utils/Instrumentation.h"

llvm/lib/Passes/PassRegistry.def

-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ FUNCTION_PASS("move-auto-init", MoveAutoInitPass())
412412
FUNCTION_PASS("nary-reassociate", NaryReassociatePass())
413413
FUNCTION_PASS("newgvn", NewGVNPass())
414414
FUNCTION_PASS("no-op-function", NoOpFunctionPass())
415-
FUNCTION_PASS("normalize", IRNormalizerPass())
416415
FUNCTION_PASS("objc-arc", ObjCARCOptPass())
417416
FUNCTION_PASS("objc-arc-contract", ObjCARCContractPass())
418417
FUNCTION_PASS("objc-arc-expand", ObjCARCExpandPass())

llvm/lib/Transforms/Utils/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ add_llvm_component_library(LLVMTransformUtils
3737
InstructionNamer.cpp
3838
Instrumentation.cpp
3939
IntegerDivision.cpp
40-
IRNormalizer.cpp
4140
LCSSA.cpp
4241
LibCallsShrinkWrap.cpp
4342
Local.cpp

0 commit comments

Comments
 (0)