Mark |TLI| variables used to suppress -Wunused-variable warnings.

(These vars are only used in assertions)

llvm-svn: 226815
This commit is contained in:
Alexander Potapenko 2015-01-22 13:03:33 +00:00
parent ff74032018
commit a007905e4e
1 changed files with 2 additions and 0 deletions

View File

@ -24836,6 +24836,7 @@ static SDValue PerformMLOADCombine(SDNode *N, SelectionDAG &DAG,
// Can't shuffle using an illegal type.
assert (TLI.isTypeLegal(WideVecVT) && "WideVecVT should be legal");
(void)TLI;
WideSrc0 = DAG.getVectorShuffle(WideVecVT, dl, WideSrc0,
DAG.getUNDEF(WideVecVT), &ShuffleVec[0]);
}
@ -24920,6 +24921,7 @@ static SDValue PerformMSTORECombine(SDNode *N, SelectionDAG &DAG,
// Can't shuffle using an illegal type.
assert (TLI.isTypeLegal(WideVecVT) && "WideVecVT should be legal");
(void)TLI;
SDValue TruncatedVal = DAG.getVectorShuffle(WideVecVT, dl, WideVec,
DAG.getUNDEF(WideVecVT),