This is an archive of the discontinued LLVM Phabricator instance.

[PEI] Separate saving and restoring CSRs into different functions. NFC
ClosedPublic

Authored by thegameg on Jul 19 2017, 2:06 PM.

Diff Detail

Event Timeline

thegameg created this revision.Jul 19 2017, 2:06 PM
MatzeB accepted this revision.Jul 19 2017, 4:25 PM

LGTM, style suggestions below.

lib/CodeGen/PrologEpilogInserter.cpp
495

How about for (CalleeSavedInfo &CI : reverse(CSI)) ...?

515

Could use an ArrayRef here.

This revision is now accepted and ready to land.Jul 19 2017, 4:25 PM
thegameg updated this revision to Diff 107412.Jul 19 2017, 4:31 PM
thegameg marked 2 inline comments as done.
This revision was automatically updated to reflect the committed changes.