Make Win64 localescape offsets FP relative instead of SP relative
authorReid Kleckner <rnk@google.com>
Mon, 12 Oct 2015 19:43:34 +0000 (19:43 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 12 Oct 2015 19:43:34 +0000 (19:43 +0000)
commit011e9479dda6a03abeab41e5e5de234bbf54ab86
tree3e8b0b1a1222957a0f37fffffc0bfd4a7a63c985
parente8d28f3d7a73297b28bc60fe81ab38d116f3dc6c
Make Win64 localescape offsets FP relative instead of SP relative

We made them SP relative back in March (r233137) because that's the
value the runtime passes to EH functions. With the new cleanuppad IR,
funclets adjust their frame argument from SP to FP, so our offsets
should now be FP-relative.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250088 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
test/CodeGen/X86/frameescape.ll [deleted file]
test/CodeGen/X86/localescape.ll [new file with mode: 0644]