Clean up unused variable warning in release build.
authorAlexander Kornienko <alexfh@google.com>
Fri, 27 Jun 2014 15:30:55 +0000 (15:30 +0000)
committerAlexander Kornienko <alexfh@google.com>
Fri, 27 Jun 2014 15:30:55 +0000 (15:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211902 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 89e9623a54b9bff10f8073ec39832b105cdda872..c50f44daaee8c3903224bff1fe25d1fa7ffa5b5b 100644 (file)
@@ -19244,6 +19244,7 @@ static SDValue PerformTargetShuffleCombine(SDValue N, SelectionDAG &DAG,
   case X86ISD::PSHUFLW:
   case X86ISD::PSHUFHW:
     assert(VT == MVT::v8i16);
   case X86ISD::PSHUFLW:
   case X86ISD::PSHUFHW:
     assert(VT == MVT::v8i16);
+    (void)VT;
 
     if (combineRedundantHalfShuffle(N, Mask, DAG, DCI))
       return SDValue(); // We combined away this shuffle, so we're done.
 
     if (combineRedundantHalfShuffle(N, Mask, DAG, DCI))
       return SDValue(); // We combined away this shuffle, so we're done.