mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[Hexagon] Fold single-use variable into assert. NFCI.
This commit is contained in:
parent
6d03e1f153
commit
f7ce567fa8
@ -1965,8 +1965,9 @@ HexagonTargetLowering::LowerHvxOperationWrapper(SDNode *N,
|
||||
switch (Opc) {
|
||||
case ISD::STORE: {
|
||||
SDValue Value = cast<StoreSDNode>(N)->getValue();
|
||||
unsigned Action = getPreferredHvxVectorAction(ty(Value));
|
||||
assert(Action == TargetLoweringBase::TypeWidenVector && "Not widening?");
|
||||
assert(getPreferredHvxVectorAction(ty(Value)) ==
|
||||
TargetLoweringBase::TypeWidenVector &&
|
||||
"Not widening?");
|
||||
SDValue Store = WidenHvxStore(SDValue(N, 0), DAG);
|
||||
Results.push_back(Store);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user