[PATCH] D36721: [MachineOutliner] AArch64: Avoid saving + restoring LR if possible

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 11:17:32 PDT 2017


paquette updated this revision to Diff 116021.
paquette marked 8 inline comments as done.
paquette added a comment.

Updated the diff to address feedback. There are lots of changes, but here are the highlights:

- I added a struct for `MachineOutlinerInfo` which acts as the interface between the target and the pass.
- Lots of comments
- Updated the remarks test to reflect the cost model change
- Merged together the frame overhead/call overhead stuff into `getOutliningCandidateInfo`, which returns a `MachineOutlinerInfo` struct.


https://reviews.llvm.org/D36721

Files:
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/MachineOutliner.cpp
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/AArch64/machine-outliner-remarks.ll
  test/CodeGen/AArch64/machine-outliner.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36721.116021.patch
Type: text/x-patch
Size: 51713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170920/5383317f/attachment.bin>


More information about the llvm-commits mailing list