summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2018-03-05 18:36:39 +0000
committerEric Liu <ioeric@google.com>2018-03-05 18:36:39 +0000
commit47f42c2167a16598c579f89be2b47056864891a0 (patch)
treee96a1c2895ec2e4642b127b243ca9ddb637cbb03 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent5ab08cfd23635d7b6fa55c0a182aa94cc98a9b5b (diff)
downloadbcm5719-llvm-47f42c2167a16598c579f89be2b47056864891a0.tar.gz
bcm5719-llvm-47f42c2167a16598c579f89be2b47056864891a0.zip
Fix an unused variable warning introduced by rr326703. NFC
llvm-svn: 326732
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 37d70c6e204..9d0ea385792 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -7600,7 +7600,9 @@ void SelectionDAG::VerifyDAGDiverence()
}
}
for (auto &N : allnodes()) {
- assert(DivergenceMap[&N] == N.isDivergent() && "Divergence bit inconsistency detected\n");
+ (void)N;
+ assert(DivergenceMap[&N] == N.isDivergent() &&
+ "Divergence bit inconsistency detected\n");
}
}
OpenPOWER on IntegriCloud