Skip to content

Commit b5924a8

Browse files
committed
[Hexagon] Fold another layer of single-use variable into assert. NFCI.
1 parent 2b7df27 commit b5924a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,10 +1964,10 @@ HexagonTargetLowering::LowerHvxOperationWrapper(SDNode *N,
19641964

19651965
switch (Opc) {
19661966
case ISD::STORE: {
1967-
SDValue Value = cast<StoreSDNode>(N)->getValue();
1968-
assert(getPreferredHvxVectorAction(ty(Value)) ==
1969-
TargetLoweringBase::TypeWidenVector &&
1970-
"Not widening?");
1967+
assert(
1968+
getPreferredHvxVectorAction(ty(cast<StoreSDNode>(N)->getValue())) ==
1969+
TargetLoweringBase::TypeWidenVector &&
1970+
"Not widening?");
19711971
SDValue Store = WidenHvxStore(SDValue(N, 0), DAG);
19721972
Results.push_back(Store);
19731973
break;

0 commit comments

Comments
 (0)