[llvm] r327745 - Quiet unused variable warnings. NFC.
David L Kreitzer via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 16 14:21:23 PDT 2018
Author: dlkreitz
Date: Fri Mar 16 14:21:23 2018
New Revision: 327745
URL: http://llvm.org/viewvc/llvm-project?rev=327745&view=rev
Log:
Quiet unused variable warnings. NFC.
Differential revision: https://reviews.llvm.org/D44583
Modified:
llvm/trunk/lib/CodeGen/MachinePipeliner.cpp
Modified: llvm/trunk/lib/CodeGen/MachinePipeliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachinePipeliner.cpp?rev=327745&r1=327744&r2=327745&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachinePipeliner.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachinePipeliner.cpp Fri Mar 16 14:21:23 2018
@@ -3918,6 +3918,7 @@ void SwingSchedulerDAG::checkValidNodeOr
std::sort(Indices.begin(), Indices.end(), CompareKey);
bool Valid = true;
+ (void)Valid;
// for each SUnit in the NodeOrder, check whether
// it appears after both a successor and a predecessor
// of the SUnit. If this is the case, and the SUnit
@@ -3932,6 +3933,8 @@ void SwingSchedulerDAG::checkValidNodeOr
SUnit *Succ;
SUnit *Pred;
+ (void)Succ;
+ (void)Pred;
for (SDep &PredEdge : SU->Preds) {
SUnit *PredSU = PredEdge.getSUnit();
More information about the llvm-commits
mailing list