[llvm] r316377 - Fix buildbot breakage
George Burgess IV via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 14:08:02 PDT 2017
Author: gbiv
Date: Mon Oct 23 14:08:02 2017
New Revision: 316377
URL: http://llvm.org/viewvc/llvm-project?rev=316377&view=rev
Log:
Fix buildbot breakage
SP is only used in an assert. Caused by r316374.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=316377&r1=316376&r2=316377&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Mon Oct 23 14:08:02 2017
@@ -942,6 +942,7 @@ void RegsForValue::AddInlineAsmOperands(
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(
More information about the llvm-commits
mailing list