[PATCH] D47655: [MachineOutliner] Don't outline sequences where x16/x17/nzcv are live across

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 11 10:00:51 PDT 2018


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

Updated patch to handle the live-in case. Updated the test to be more explicit as well.

There are now two LRUs maintained rather than one.

- LRUIn: live ins to a candidate
- LRUOut: live outs from a candidate

LRUIn handles the beginning of the block up to the beginning of the candidate. LRUOut handles the beginning of the candidate up to the end of the block.


https://reviews.llvm.org/D47655

Files:
  include/llvm/CodeGen/MachineOutliner.h
  lib/CodeGen/MachineOutliner.cpp
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  test/CodeGen/AArch64/machine-outliner-bad-register.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47655.150781.patch
Type: text/x-patch
Size: 12636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180611/ee10e740/attachment.bin>


More information about the llvm-commits mailing list