[llvm] Reapply "[MemCpyOpt] support offset slices for performStackMoveOptzn and processMemCpy", with bug fixed (PR #180002)

Jameson Nash via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 06:46:55 PST 2026


================
@@ -57,11 +57,13 @@ class MemCpyOptPass : public PassInfoMixin<MemCpyOptPass> {
 
   LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
 
+  // Glue for the old PM.
+  LLVM_ABI bool runImpl(Function &F, TargetLibraryInfo *TLI, AAResults *AA,
+                        AssumptionCache *AC, DominatorTree *DT,
+                        PostDominatorTree *PDT, MemorySSA *MSSA);
----------------
vtjnash wrote:

Gotcha. Yeah, since that checker is disabled, then I don't need to include this anymore. It looks like the public/private shift was a semantic conflict with git, since it was public at the time the original PR was made, so the revert/reland tried to make it public again.

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


More information about the llvm-commits mailing list