[clang] [llvm] wip: Move instrumentation passes (PR #92171)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 13:44:03 PDT 2024


================
@@ -670,9 +670,6 @@ void CodeGenPassBuilder<Derived, TargetMachineT>::addIRPasses(
       !Opt.DisablePartialLibcallInlining)
     addPass(PartiallyInlineLibCallsPass());
 
-  // Instrument function entry and exit, e.g. with calls to mcount().
-  addPass(EntryExitInstrumenterPass(/*PostInlining=*/true));
----------------
aeubanks wrote:

don't touch this one, this is the WIP port of the codegen pipeline to the new pass manager (and this is actually what we want, that the codegen pipeline does this)

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


More information about the llvm-commits mailing list