Fix buildbot breakage

SP is only used in an assert. Caused by r316374.

llvm-svn: 316377
This commit is contained in:
George Burgess IV 2017-10-23 21:08:02 +00:00
parent 615a064e33
commit 7887238c7c
1 changed files with 1 additions and 0 deletions

View File

@ -942,6 +942,7 @@ void RegsForValue::AddInlineAsmOperands(unsigned Code, bool HasMatching,
assert(Regs.size() == RegVTs.size() && Regs.size() == ValueVTs.size() &&
"No 1:1 mapping from clobbers to regs?");
unsigned SP = TLI.getStackPointerRegisterToSaveRestore();
(void)SP;
for (unsigned I = 0, E = ValueVTs.size(); I != E; ++I) {
Ops.push_back(DAG.getRegister(Regs[I], RegVTs[I]));
assert(