OSDN Git Service

[CodeGen] Take SPAdj into account for STATEPOINT liveness args
authorThan McIntosh <thanm@google.com>
Mon, 26 Nov 2018 16:16:09 +0000 (16:16 +0000)
committerThan McIntosh <thanm@google.com>
Mon, 26 Nov 2018 16:16:09 +0000 (16:16 +0000)
commitb4a52bd51421eac92abf20ab2146b3e939f9d2e2
treed5275144058c34569d42ba6dd793e2df758c2709
parent6de08e45573ee5061afbe97c07433b216cefa454
[CodeGen] Take SPAdj into account for STATEPOINT liveness args

Summary:
STATEPOINT records its args' locations on stack relative to SP.
If the SP is changed, take that into account.

This patch authored by Cherry Zhang <cherryyz@google.com>.

Reviewers: thanm, reames

Reviewed By: reames

Subscribers: reames, llvm-commits

Differential Revision: https://reviews.llvm.org/D53603

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347569 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp
test/CodeGen/X86/statepoint-stackmap-format.ll