This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGff7e1da68f2a: [NPM] Support -fmerge-functions (authored by
aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://rev
nikic accepted this revision.
nikic added a comment.
LGTM
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
aeubanks updated this revision to Diff 310969.
aeubanks added a comment.
move -O0 MergeFunctions after inlining
add to LTO pipeline (matches legacy PM)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93002/new/
https://reviews.llvm.org/D93002
Files:
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-pr
asbirlea accepted this revision.
asbirlea added a comment.
This revision is now accepted and ready to land.
Thank you for adding this support.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93002/new/
https://reviews.llvm.org/D93002
___
aeubanks created this revision.
aeubanks added reviewers: ychen, asbirlea, nikic.
Herald added a subscriber: hiraditya.
aeubanks requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
I tried to put it in the same place in the pi