aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-09-28 03:10:17 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-09-28 03:10:17 +0000
commit8034d7100652091c20101554a3b6d6afa545e696 (patch)
treed991df48c98b58a17dc488faba01de1e0daef746 /lib
parent9c598cfebcc3387676995873e65ae4fed96b3edc (diff)
downloadexternal_llvm-8034d7100652091c20101554a3b6d6afa545e696.zip
external_llvm-8034d7100652091c20101554a3b6d6afa545e696.tar.gz
external_llvm-8034d7100652091c20101554a3b6d6afa545e696.tar.bz2
SelectionDAG: Silence unused variable warning on release builds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index e78caba..26d71cc 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -3714,6 +3714,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node) {
bool Legalized = LegalizeSetCCCondCode(getSetCCResultType(
Tmp2.getValueType()), Tmp2, Tmp3, Tmp4, dl);
+ (void)Legalized;
assert(Legalized && "Can't legalize BR_CC with legal condition!");
// If we exapanded the SETCC by swapping LHS and RHS, create a new BR_CC