mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
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:
parent
8fc1c3a619
commit
331e7db8ef
@ -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