mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Remove some local variables in place of just querying for them
in the couple of asserts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226917 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d6fbb91ea2
commit
ab74a03c00
@ -24807,7 +24807,6 @@ static SDValue PerformMLOADCombine(SDNode *N, SelectionDAG &DAG,
|
||||
return SDValue();
|
||||
|
||||
EVT VT = Mld->getValueType(0);
|
||||
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
|
||||
unsigned NumElems = VT.getVectorNumElements();
|
||||
EVT LdVT = Mld->getMemoryVT();
|
||||
SDLoc dl(Mld);
|
||||
@ -24835,8 +24834,8 @@ static SDValue PerformMLOADCombine(SDNode *N, SelectionDAG &DAG,
|
||||
ShuffleVec[i] = i * SizeRatio;
|
||||
|
||||
// Can't shuffle using an illegal type.
|
||||
assert (TLI.isTypeLegal(WideVecVT) && "WideVecVT should be legal");
|
||||
(void)TLI;
|
||||
assert (DAG.getTargetLoweringInfo().isTypeLegal(WideVecVT)
|
||||
&& "WideVecVT should be legal");
|
||||
WideSrc0 = DAG.getVectorShuffle(WideVecVT, dl, WideSrc0,
|
||||
DAG.getUNDEF(WideVecVT), &ShuffleVec[0]);
|
||||
}
|
||||
@ -24888,7 +24887,6 @@ static SDValue PerformMSTORECombine(SDNode *N, SelectionDAG &DAG,
|
||||
return SDValue();
|
||||
|
||||
EVT VT = Mst->getValue().getValueType();
|
||||
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
|
||||
unsigned NumElems = VT.getVectorNumElements();
|
||||
EVT StVT = Mst->getMemoryVT();
|
||||
SDLoc dl(Mst);
|
||||
@ -24920,8 +24918,8 @@ static SDValue PerformMSTORECombine(SDNode *N, SelectionDAG &DAG,
|
||||
ShuffleVec[i] = i * SizeRatio;
|
||||
|
||||
// Can't shuffle using an illegal type.
|
||||
assert (TLI.isTypeLegal(WideVecVT) && "WideVecVT should be legal");
|
||||
(void)TLI;
|
||||
assert (DAG.getTargetLoweringInfo().isTypeLegal(WideVecVT)
|
||||
&& "WideVecVT should be legal");
|
||||
|
||||
SDValue TruncatedVal = DAG.getVectorShuffle(WideVecVT, dl, WideVec,
|
||||
DAG.getUNDEF(WideVecVT),
|
||||
|
Loading…
Reference in New Issue
Block a user