nikic added inline comments.

================
Comment at: llvm/lib/Passes/PassBuilder.cpp:1776
+  if (PTO.MergeFunctions)
+    MPM.addPass(MergeFunctionsPass());
+
----------------
In the legacy PM this is placed after the AlwaysInlinerPass rather than before 
it: 
https://github.com/llvm/llvm-project/blob/57db6d20c6dadbc129f0bf842b2028e2716b67f6/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp#L536-L547


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93002/new/

https://reviews.llvm.org/D93002

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to