[PATCH] D76066: [ARM][MachineOutliner] Add Machine Outliner support for ARM

Yvan Roux via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 08:08:42 PDT 2020


yroux created this revision.
yroux added reviewers: t.p.northover, efriedma, paquette, samparker, SjoerdMeijer.
Herald added subscribers: llvm-commits, cfe-commits, danielkiss, hiraditya, kristof.beyls.
Herald added projects: clang, LLVM.

Enables Machine Outlining support on ARM for ARM and Thumb2 modes.  Only the
simplest outlining modes (tailcalls and thunks) are handled here, the patch
also disables LowOverheadLoops pass when the machine outliner is used since
outlined functions are not supprted by this pass.

This is a follow-up of ARM Machine Outliner support RFC D57054 <https://reviews.llvm.org/D57054>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76066

Files:
  clang/lib/Driver/ToolChains/Clang.cpp
  llvm/include/llvm/CodeGen/TargetPassConfig.h
  llvm/lib/CodeGen/MachineOutliner.cpp
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
  llvm/lib/Target/ARM/ARMBaseInstrInfo.h
  llvm/lib/Target/ARM/ARMTargetMachine.cpp
  llvm/test/CodeGen/ARM/machine-outliner-tail.ll
  llvm/test/CodeGen/ARM/machine-outliner-thunk.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76066.249935.patch
Type: text/x-patch
Size: 27311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200312/161692a9/attachment-0001.bin>


More information about the llvm-commits mailing list