forked from OSchip/llvm-project
[Hexagon] Fold another layer of single-use variable into assert. NFCI.
This commit is contained in:
parent
2b7df2707f
commit
b5924a8e27
|
@ -1964,10 +1964,10 @@ HexagonTargetLowering::LowerHvxOperationWrapper(SDNode *N,
|
|||
|
||||
switch (Opc) {
|
||||
case ISD::STORE: {
|
||||
SDValue Value = cast<StoreSDNode>(N)->getValue();
|
||||
assert(getPreferredHvxVectorAction(ty(Value)) ==
|
||||
TargetLoweringBase::TypeWidenVector &&
|
||||
"Not widening?");
|
||||
assert(
|
||||
getPreferredHvxVectorAction(ty(cast<StoreSDNode>(N)->getValue())) ==
|
||||
TargetLoweringBase::TypeWidenVector &&
|
||||
"Not widening?");
|
||||
SDValue Store = WidenHvxStore(SDValue(N, 0), DAG);
|
||||
Results.push_back(Store);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue