diff options
author | Duncan Sands <baldrick@free.fr> | 2011-10-18 12:44:00 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-10-18 12:44:00 +0000 |
commit | 17001ce25cc205ac1cd2604492c2bce310964220 (patch) | |
tree | 1469842ba5d4d06dde8e9d9d376c3cec88643354 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 40825fbb404ff6087f6da24c008e52a3e03f59bc (diff) |
Fix a bunch of unused variable warnings when doing a release
build with gcc-4.6.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142350 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 632b6146ac..df94e0f686 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -2800,6 +2800,7 @@ SDValue SelectionDAG::getNode(unsigned Opcode, DebugLoc DL, EVT VT, EVT.getVectorNumElements() == VT.getVectorNumElements()) && "Vector element counts must match in FP_ROUND_INREG"); assert(EVT.bitsLE(VT) && "Not rounding down!"); + (void)EVT; if (cast<VTSDNode>(N2)->getVT() == VT) return N1; // Not actually rounding. break; } |