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

(These vars are only used in assertions)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexander Potapenko 2015-01-22 13:03:33 +00:00
parent 8fc1c3a619
commit 331e7db8ef

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),