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 | 447a9343fcb29f711e2860ed7f52e017937f3d39 (patch) | |
tree | 74e97bdef7a39c5f6aa397d0fdc41a22150291e5 /lib/CodeGen/MachinePipeliner.cpp | |
parent | f38d29c48f56458464a4de121fdef9f7e7491074 (diff) |
Quiet unused variable warnings. NFC.
Differential revision: https://reviews.llvm.org/D44583
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachinePipeliner.cpp')
-rw-r--r-- | lib/CodeGen/MachinePipeliner.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/MachinePipeliner.cpp b/lib/CodeGen/MachinePipeliner.cpp index 555bb5b3c2b..5d9767b526a 100644 --- a/lib/CodeGen/MachinePipeliner.cpp +++ b/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(); |