[Stackmaps] Make ithe frame-pointer required for stackmaps.
authorJuergen Ributzka <juergen@apple.com>
Thu, 2 Oct 2014 22:21:49 +0000 (22:21 +0000)
committerJuergen Ributzka <juergen@apple.com>
Thu, 2 Oct 2014 22:21:49 +0000 (22:21 +0000)
commitb3f91b0af71d53114eae92424c00e5f26567c017
tree59ae4062077a2685930f88a85ccb29b24ea17592
parent32e192aeb3884d41dca7fe0b0bb2169da6169208
[Stackmaps] Make ithe frame-pointer required for stackmaps.

Do not eliminate the frame pointer if there is a stackmap or patchpoint in the
function. All stackmap references should be FP relative.

This fixes PR21107.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218920 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FrameLowering.cpp
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/patchpoint-webkit_jscc.ll
test/CodeGen/X86/patchpoint.ll
test/CodeGen/X86/stackmap-fast-isel.ll
test/CodeGen/X86/stackmap-liveness.ll
test/CodeGen/X86/stackmap-nops.ll
test/CodeGen/X86/stackmap-shadow-optimization.ll
test/CodeGen/X86/stackmap.ll