[PATCH] D30797: [Outliner] Add simple stack fixup support in X86
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 16:07:15 PST 2017
paquette created this revision.
This commit adds support for simple stack fixups to the MachineOutliner pass. There are certain instructions that use, say, the stack pointer in x86-64 that can safely be outlined by modifying their offsets inside outlined functions. By making these instructions legal, it's possible to find longer sequences of instructions to outline.
As a start, commit adds support for outlining MOV64mr and MOV64rm MachineInstrs that use RSP to the x86-64 outliner.
This relies on https://reviews.llvm.org/D30670.
https://reviews.llvm.org/D30797
Files:
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30797.91232.patch
Type: text/x-patch
Size: 6853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170310/d7feaa1a/attachment.bin>
More information about the llvm-commits
mailing list