[llvm] r334868 - Revert r334731 "Avoid unused variable in non-assert builds."
Francis Visoiu Mistrih via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 15 16:05:40 PDT 2018
Author: thegameg
Date: Fri Jun 15 16:05:40 2018
New Revision: 334868
URL: http://llvm.org/viewvc/llvm-project?rev=334868&view=rev
Log:
Revert r334731 "Avoid unused variable in non-assert builds."
This reverts commit r334731.
It breaks EXPENSIVE_CHECKS bots.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp?rev=334868&r1=334867&r2=334868&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp Fri Jun 15 16:05:40 2018
@@ -105,7 +105,6 @@ void DAGTypeLegalizer::PerformExpensiveC
I = ReplacedValues.find(NewValId);
}
SDValue NewVal = getSDValue(NewValId);
- (void)NewVal;
assert(NewVal.getNode()->getNodeId() != NewNode &&
"ReplacedValues maps to a new node!");
}
More information about the llvm-commits
mailing list