mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
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
1c951c9953
commit
447861c156
@ -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
Block a user