Mark |TLI| variables used to suppress -Wunused-variable warnings.
(These vars are only used in assertions) llvm-svn: 226815
This commit is contained in:
parent
ff74032018
commit
a007905e4e
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue