diff options
author | David L Kreitzer <david.l.kreitzer@intel.com> | 2018-03-16 21:21:23 +0000 |
---|---|---|
committer | David L Kreitzer <david.l.kreitzer@intel.com> | 2018-03-16 21:21:23 +0000 |
commit | febf70a9be0ab6c930959d8b367a983e7aa1e799 (patch) | |
tree | 08e70a62c2d954b59c954b81264865fb9fdd03cc /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 25007c4f32521cbc516b785c7a6d6a63240a45e3 (diff) | |
download | bcm5719-llvm-febf70a9be0ab6c930959d8b367a983e7aa1e799.tar.gz bcm5719-llvm-febf70a9be0ab6c930959d8b367a983e7aa1e799.zip |
Quiet unused variable warnings. NFC.
Differential revision: https://reviews.llvm.org/D44583
llvm-svn: 327745
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachinePipeliner.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp index 555bb5b3c2b..5d9767b526a 100644 --- a/llvm/lib/CodeGen/MachinePipeliner.cpp +++ b/llvm/lib/CodeGen/MachinePipeliner.cpp @@ -3918,6 +3918,7 @@ void SwingSchedulerDAG::checkValidNodeOrder(const NodeSetType &Circuits) const { 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::checkValidNodeOrder(const NodeSetType &Circuits) const { SUnit *Succ; SUnit *Pred; + (void)Succ; + (void)Pred; for (SDep &PredEdge : SU->Preds) { SUnit *PredSU = PredEdge.getSUnit(); |