commit | c39bccc79fca5586c9e2efd17627a49f7c289aa7 | [log] [tgz] |
---|---|---|
author | Francis Visoiu Mistrih <fvisoiumistrih@apple.com> | Thu Jul 20 20:17:17 2017 +0000 |
committer | Francis Visoiu Mistrih <fvisoiumistrih@apple.com> | Thu Jul 20 20:17:17 2017 +0000 |
tree | 53175da094cbe970439e5d3cc9e3ae06cb6a3c29 | |
parent | 29fa98aa846aa6ccb5ad6ebaee7a196d6a9e7c11 [diff] |
[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@308664 91177308-0d34-0410-b5e6-96231b3b80d8