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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 06:19:14 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);
----------------
nikic wrote:

The ids-check has been disabled -- but in any case, moving something to public should not be required to satisfy ids, only adding LLVM_ABI is needed.

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


More information about the llvm-commits mailing list