[llvm] [Pass] Support start/stop in instrumentation (PR #70912)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 21:48:32 PST 2024
================
@@ -623,8 +733,9 @@ void CodeGenPassBuilder<Derived>::addIRPasses(AddIRPass &addPass) const {
// Run loop strength reduction before anything else.
if (getOptLevel() != CodeGenOptLevel::None && !Opt.DisableLSR) {
- addPass(createFunctionToLoopPassAdaptor(
- LoopStrengthReducePass(), /*UseMemorySSA*/ true, Opt.DebugPM));
+ addPass(createFunctionToLoopPassAdaptor(LoopStrengthReducePass(),
+ /*UseMemorySSA*/ true, Opt.DebugPM),
+ LoopStrengthReducePass::name());
----------------
aeubanks wrote:
this is unfortunate, I wonder if we should just make this a function pass, but we can do that in the future
https://github.com/llvm/llvm-project/pull/70912
More information about the llvm-commits
mailing list