[PATCH] D93002: [NPM] Support -fmerge-functions
Nikita Popov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 10 11:20:58 PST 2020
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
More information about the cfe-commits
mailing list