[all-commits] [llvm/llvm-project] ab2dcf: Support repeated machine outlining

jinlin-bayarea via All-commits all-commits at lists.llvm.org
Tue Mar 17 18:11:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ab2dcff309f99614983db7ef6ee4bf43d24dcc30
      https://github.com/llvm/llvm-project/commit/ab2dcff309f99614983db7ef6ee4bf43d24dcc30
  Author: Jin Lin <jinl at uber.com>
  Date:   2020-03-17 (Tue, 17 Mar 2020)

  Changed paths:
    M llvm/lib/CodeGen/MachineOutliner.cpp
    A llvm/test/CodeGen/AArch64/machine-outliner-iterative.mir

  Log Message:
  -----------
  Support repeated machine outlining

Summary: 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.

Reviewers: aschwaighofer, tellenbach, paquette

Reviewed By: paquette

Subscribers: tellenbach, hiraditya, llvm-commits, jinlin

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71027




More information about the All-commits mailing list