SelectionDAG: Silence unused variable warning on release builds

llvm-svn: 191604
This commit is contained in:
Tom Stellard 2013-09-28 03:10:17 +00:00
parent 0351ea2010
commit 45015d9796
1 changed files with 1 additions and 0 deletions

View File

@ -3714,6 +3714,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node) {
bool Legalized = LegalizeSetCCCondCode(getSetCCResultType( bool Legalized = LegalizeSetCCCondCode(getSetCCResultType(
Tmp2.getValueType()), Tmp2, Tmp3, Tmp4, dl); Tmp2.getValueType()), Tmp2, Tmp3, Tmp4, dl);
(void)Legalized;
assert(Legalized && "Can't legalize BR_CC with legal condition!"); 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 // If we exapanded the SETCC by swapping LHS and RHS, create a new BR_CC