Skip to content

Commit 0517772

Browse files
committed
Delete unused PoisonChecking utility pass
This was introduced ~5yrs ago (by me), and has never really gotten any adoption. By now, it's significantly out of sync with new/changed poison propoagation rules. The idea is still reasonable, but the imagined use case is largely covered by alive2 these days anyways.
1 parent 5f096fd commit 0517772

File tree

8 files changed

+0
-899
lines changed

8 files changed

+0
-899
lines changed

llvm/include/llvm/Transforms/Instrumentation/PoisonChecking.h

Lines changed: 0 additions & 23 deletions
This file was deleted.

llvm/lib/Passes/PassBuilder.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@
220220
#include "llvm/Transforms/Instrumentation/PGOCtxProfLowering.h"
221221
#include "llvm/Transforms/Instrumentation/PGOForceFunctionAttrs.h"
222222
#include "llvm/Transforms/Instrumentation/PGOInstrumentation.h"
223-
#include "llvm/Transforms/Instrumentation/PoisonChecking.h"
224223
#include "llvm/Transforms/Instrumentation/RealtimeSanitizer.h"
225224
#include "llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h"
226225
#include "llvm/Transforms/Instrumentation/SanitizerCoverage.h"

llvm/lib/Passes/PassRegistry.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ MODULE_PASS("partial-inliner", PartialInlinerPass())
115115
MODULE_PASS("pgo-icall-prom", PGOIndirectCallPromotion())
116116
MODULE_PASS("pgo-instr-gen", PGOInstrumentationGen())
117117
MODULE_PASS("pgo-instr-use", PGOInstrumentationUse())
118-
MODULE_PASS("poison-checking", PoisonCheckingPass())
119118
MODULE_PASS("pre-isel-intrinsic-lowering", PreISelIntrinsicLoweringPass(TM))
120119
MODULE_PASS("print", PrintModulePass(errs()))
121120
MODULE_PASS("print-callgraph", CallGraphPrinterPass(errs()))

llvm/lib/Transforms/Instrumentation/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ add_llvm_component_library(LLVMInstrumentation
1919
PGOForceFunctionAttrs.cpp
2020
PGOInstrumentation.cpp
2121
PGOMemOPSizeOpt.cpp
22-
PoisonChecking.cpp
2322
SanitizerCoverage.cpp
2423
SanitizerBinaryMetadata.cpp
2524
ValueProfileCollector.cpp

0 commit comments

Comments
 (0)