[PATCH] D88041: [lld] Add a flag to enable split machine functions for LTO.

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 12:48:48 PDT 2020


snehasish created this revision.
snehasish added reviewers: MaskRay, tejohnson.
Herald added subscribers: llvm-commits, dang, dexonsmith, steven_wu, hiraditya, arichardson, inglorion, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
snehasish requested review of this revision.

The machine function splitter is a codegen optimization pass which is
only available on X86 ELF and not turned on by default. To allow LTO
builds to take advantage of this optimization we add a flag -
--lto-split-machine-functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88041

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/LTO.cpp
  lld/ELF/Options.td
  lld/test/ELF/lto/split-machine-functions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88041.293235.patch
Type: text/x-patch
Size: 4104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200921/6347ff2f/attachment.bin>


More information about the llvm-commits mailing list