[llvm] b3c15db - [Instrumentor] Use RequiredPassInfoMixin (#196333)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 7 10:16:39 PDT 2026
Author: Aiden Grossman
Date: 2026-05-07T17:16:34Z
New Revision: b3c15dbae051e29cfbd8b4110ac190528fb563a7
URL: https://github.com/llvm/llvm-project/commit/b3c15dbae051e29cfbd8b4110ac190528fb563a7
DIFF: https://github.com/llvm/llvm-project/commit/b3c15dbae051e29cfbd8b4110ac190528fb563a7.diff
LOG: [Instrumentor] Use RequiredPassInfoMixin (#196333)
This preserves the existing behavior and makes the pass compliant with
\#192120, which is important as inheriting from the normal PassInfoMixin
will be going away soonish.
Added:
Modified:
llvm/include/llvm/Transforms/IPO/Instrumentor.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/IPO/Instrumentor.h b/llvm/include/llvm/Transforms/IPO/Instrumentor.h
index 5ddfd3dd4466c..a6f7ec09265b0 100644
--- a/llvm/include/llvm/Transforms/IPO/Instrumentor.h
+++ b/llvm/include/llvm/Transforms/IPO/Instrumentor.h
@@ -677,7 +677,7 @@ struct LoadIO : public InstructionIO<Instruction::Load> {
} // namespace instrumentor
/// The Instrumentor pass.
-class InstrumentorPass : public PassInfoMixin<InstrumentorPass> {
+class InstrumentorPass : public RequiredPassInfoMixin<InstrumentorPass> {
using InstrumentationConfig = instrumentor::InstrumentationConfig;
using InstrumentorIRBuilderTy = instrumentor::InstrumentorIRBuilderTy;
More information about the llvm-commits
mailing list