[PATCH] D48776: [MachineOutliner] Add support for target-default outlining

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 10:18:01 PDT 2018


paquette created this revision.
paquette added a reviewer: eli.friedman.
Herald added a reviewer: javed.absar.
Herald added a subscriber: kristof.beyls.

This adds functionality to the outliner that allows targets to specify certain functions that should be outlined from by default.

When -enable-machine-outliner=[something] isn't passed, the outliner will perform target-default behaviour if defined. Targets that want to support default outlining will specify that in their TargetOptions.

This is a preliminary patch for turning the outliner on by default under -Oz for AArch64. (https://reviews.llvm.org/D45916)


https://reviews.llvm.org/D48776

Files:
  include/llvm/CodeGen/Passes.h
  include/llvm/CodeGen/TargetInstrInfo.h
  include/llvm/Target/TargetMachine.h
  include/llvm/Target/TargetOptions.h
  lib/CodeGen/MachineOutliner.cpp
  lib/CodeGen/TargetPassConfig.cpp
  test/CodeGen/AArch64/machine-outliner-flags.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48776.153520.patch
Type: text/x-patch
Size: 7711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/f7dcadf4/attachment.bin>


More information about the llvm-commits mailing list