[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
Fri Jun 1 14:31:06 PDT 2018


paquette created this revision.
paquette added a reviewer: efriedma.
Herald added a reviewer: javed.absar.

This is for bug 37573. It isn't safe to outline sequences of instructions where x16/x17/nzcv live across the sequence.

This teaches the outliner to check whether or not a specific canidate has x16/x17/nzcv live across it and discard the candidate in the case that that is true.

https://bugs.llvm.org/show_bug.cgi?id=37573


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
  lib/Target/X86/X86InstrInfo.cpp
  test/CodeGen/AArch64/machine-outliner-bad-register.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47655.149551.patch
Type: text/x-patch
Size: 11247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180601/362c4231/attachment.bin>


More information about the llvm-commits mailing list