diff options
author | Lang Hames <lhames@gmail.com> | 2013-11-29 03:07:54 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2013-11-29 03:07:54 +0000 |
commit | 39609996d9440fade118d6bd8eb83851651eda80 (patch) | |
tree | 9f1a124e53cceec87cb20e9869584c81a6f51970 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 46a6ed9e64ba1cbe825bb5dbb7740a1500bdd94d (diff) | |
download | llvm-39609996d9440fade118d6bd8eb83851651eda80.zip llvm-39609996d9440fade118d6bd8eb83851651eda80.tar.gz llvm-39609996d9440fade118d6bd8eb83851651eda80.tar.bz2 |
Refactor a lot of patchpoint/stackmap related code to simplify and make it
target independent.
Most of the x86 specific stackmap/patchpoint handling was necessitated by the
use of the native address-mode format for frame index operands. PEI has now
been modified to treat stackmap/patchpoint similarly to DEBUG_INFO, allowing
us to use a simple, platform independent register/offset pair for frame
indexes on stackmap/patchpoints.
Notes:
- Folding is now platform independent and automatically supported.
- Emiting patchpoints with direct memory references now just involves calling
the TargetLoweringBase::emitPatchPoint utility method from the target's
XXXTargetLowering::EmitInstrWithCustomInserter method. (See
X86TargetLowering for an example).
- No more ugly platform-specific operand parsers.
This patch shouldn't change the generated output for X86.
llvm-svn: 195944
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions