]> granicus.if.org Git - llvm/commit
[PEI] Separate saving and restoring CSRs into different functions. NFC
authorFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>
Wed, 19 Jul 2017 23:47:31 +0000 (23:47 +0000)
committerFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>
Wed, 19 Jul 2017 23:47:31 +0000 (23:47 +0000)
commita84d1fa6847e70ebf63594d41a00b473c941bd72
tree534e4d17f40da1f8391c006bf62c93f8344384e7
parent0199c6478798087d850efa0749b2719573758eef
[PEI] Separate saving and restoring CSRs into different functions. NFC

Split insertCSRSpillsAndRestores into insertCSRSaves + insertCSRRestores.

This is mostly useful for future shrink-wrapping improvements where we
want to save / restore a specific part of the CSRs in a specific block.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308554 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp