[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 22 15:16:37 PDT 2018
paquette updated this revision to Diff 152547.
paquette added a comment.
Fixed my mistake using LiveRegUnits. This just walks back across the entire MBB now, so that we know if a register is live across the candidate.
Also extended the test to handle some more edge-cases and complex behaviour, along with some explanation of what's tested.
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.152547.patch
Type: text/x-patch
Size: 12119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180622/4f5cc5d2/attachment.bin>
More information about the llvm-commits
mailing list