[PATCH] D71027: Support repeated machine outlining

Jin Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 10:30:26 PST 2019


jinlin created this revision.
jinlin added a reviewer: aschwaighofer.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

The following change is to allow the machine outlining can be applied for Nth times, where N is specified by the compiler option. By default the value of N is 1. The motivation is that the repeated machine outlining can further reduce code size.  Please refer to the presentation "Improving Swift Binary Size via Link Time Optimization" in LLVM Developers' Meeting in 2019.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71027

Files:
  llvm/lib/CodeGen/MachineOutliner.cpp
  llvm/test/CodeGen/AArch64/machine-outliner-iterative.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71027.232173.patch
Type: text/x-patch
Size: 25909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191204/060fd205/attachment.bin>


More information about the llvm-commits mailing list