]> granicus.if.org Git - llvm/commit
X86RegisterInfo: eliminateFrameIndex: Force SP for AfterFPPop; NFC
authorMatthias Braun <matze@braunis.de>
Thu, 20 Apr 2017 23:34:46 +0000 (23:34 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 20 Apr 2017 23:34:46 +0000 (23:34 +0000)
commit6ef1610d075031e4392c139988852bbe67500aa8
treee23628b94df39ca243b14214b921654413f81a6a
parent5037cf29e41ba98ab43fb645e7a96efb21e0d00b
X86RegisterInfo: eliminateFrameIndex: Force SP for AfterFPPop; NFC

AfterFPPop is used for tailcall/tailjump instructions. We shouldn't ever
have frame-pointer/base-pointer relative addressing for those. After all
the frame/base pointer should already be restored to their previous
values at the return.

Make this fact explicit in preparation for an upcoming refactoring.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300922 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp