diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-09-28 03:10:17 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-09-28 03:10:17 +0000 |
commit | 8034d7100652091c20101554a3b6d6afa545e696 (patch) | |
tree | d991df48c98b58a17dc488faba01de1e0daef746 | |
parent | 9c598cfebcc3387676995873e65ae4fed96b3edc (diff) | |
download | external_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
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 |
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 |