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

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 05:04:10 PDT 2017


paquette updated this revision to Diff 116425.
paquette added a comment.

- Simplified the MIR test a bit
- Fixed the loop for the LiveRegisterUnits stuff so that we only check if LR is available at the prospective call-site


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.116425.patch
Type: text/x-patch
Size: 47460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170925/af36e02d/attachment.bin>


More information about the llvm-commits mailing list