[PATCH] D72537: [NewPM] Port MergeFunctions pass
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 13:13:00 PST 2020
nikic created this revision.
nikic added reviewers: leonardchan, chandlerc, echristo.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
This ports the MergeFunctions pass to the NewPM. This was rather straightforward, as no analyses are used.
Additionally MergeFunctions needs to be conditionally enabled in the PassBuilder, but I left that part out of this patch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72537
Files:
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/IPO/MergeFunctions.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/IPO/IPO.cpp
llvm/lib/Transforms/IPO/MergeFunctions.cpp
llvm/test/Transforms/MergeFunc/merge-block-address.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72537.237420.patch
Type: text/x-patch
Size: 6757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200110/c32979bc/attachment-0001.bin>
More information about the llvm-commits
mailing list