Make DebugLogging a member variable so that users of PassBuilder don't
need to pass it around so much.
Move call to TargetMachine::registerPassBuilderCallbacks() within
PassBuilder so users don't need to remember to call it.
Paths
| Differential D90437
[NFC] Clean up PassBuilder ClosedPublic Authored by aeubanks on Oct 29 2020, 3:58 PM.
Details
Summary Make DebugLogging a member variable so that users of PassBuilder don't Move call to TargetMachine::registerPassBuilderCallbacks() within
Diff Detail
Unit TestsFailed
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 29 2020, 3:58 PM This revision is now accepted and ready to land.Oct 29 2020, 6:00 PM This revision was landed with ongoing or failed builds.Oct 30 2020, 10:04 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 301780 clang/lib/CodeGen/BackendUtil.cpp
llvm/include/llvm/Passes/PassBuilder.h
llvm/lib/LTO/LTOBackend.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
llvm/tools/opt/NewPMDriver.cpp
llvm/unittests/IR/PassBuilderCallbacksTest.cpp
|