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

jinlin-bayarea via All-commits all-commits at lists.llvm.org
Wed Mar 18 10:49:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d896278c81c231c370965092a6a23899ab5b344
      https://github.com/llvm/llvm-project/commit/0d896278c81c231c370965092a6a23899ab5b344
  Author: Jin Lin <jinl at uber.com>
  Date:   2020-03-18 (Wed, 18 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