Skip to content

Commit daa155e

Browse files
committed
auto -> SDValue
1 parent 40b9c42 commit daa155e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13148,9 +13148,9 @@ SDValue DAGCombiner::foldPartialReduceAdd(SDNode *N) {
1314813148
TLI.getTypeToTransformTo(*Context, UnextOp1VT)))
1314913149
return SDValue();
1315013150

13151-
auto Constant = N->getOpcode() == ISD::PARTIAL_REDUCE_FMLA
13152-
? DAG.getConstantFP(1, DL, UnextOp1VT)
13153-
: DAG.getConstant(1, DL, UnextOp1VT);
13151+
SDValue Constant = N->getOpcode() == ISD::PARTIAL_REDUCE_FMLA
13152+
? DAG.getConstantFP(1, DL, UnextOp1VT)
13153+
: DAG.getConstant(1, DL, UnextOp1VT);
1315413154

1315513155
return DAG.getNode(NewOpcode, DL, N->getValueType(0), Acc, UnextOp1,
1315613156
Constant);

0 commit comments

Comments
 (0)