summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-06-15 23:05:40 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-06-15 23:05:40 +0000
commit1c9df30ecaa9d098df954523c3ba63a7a31c022a (patch)
treedd561d55917d4e445fa1916ad361fc9b54c92f14 /llvm/lib/CodeGen
parentd00e375310ac72bc2ab2a017cbff780f9efb721c (diff)
downloadbcm5719-llvm-1c9df30ecaa9d098df954523c3ba63a7a31c022a.tar.gz
bcm5719-llvm-1c9df30ecaa9d098df954523c3ba63a7a31c022a.zip
Revert r334731 "Avoid unused variable in non-assert builds."
This reverts commit r334731. It breaks EXPENSIVE_CHECKS bots. llvm-svn: 334868
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
index bcb7dfc99f9..8b41f6f7635 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
@@ -105,7 +105,6 @@ void DAGTypeLegalizer::PerformExpensiveChecks() {
I = ReplacedValues.find(NewValId);
}
SDValue NewVal = getSDValue(NewValId);
- (void)NewVal;
assert(NewVal.getNode()->getNodeId() != NewNode &&
"ReplacedValues maps to a new node!");
}
OpenPOWER on IntegriCloud