Skip to content

Commit c5d685c

Browse files
committed
Fix formatting
1 parent 85b6160 commit c5d685c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13122,7 +13122,8 @@ SDValue DAGCombiner::foldPartialReduceAdd(SDNode *N) {
1312213122
if (!ISD::isExtOpcode(Op1Opcode) && Op1Opcode != ISD::FP_EXTEND)
1312313123
return SDValue();
1312413124

13125-
bool Op1IsSigned = Op1Opcode == ISD::SIGN_EXTEND || Op1Opcode == ISD::FP_EXTEND;
13125+
bool Op1IsSigned =
13126+
Op1Opcode == ISD::SIGN_EXTEND || Op1Opcode == ISD::FP_EXTEND;
1312613127
bool NodeIsSigned = N->getOpcode() != ISD::PARTIAL_REDUCE_UMLA;
1312713128
EVT AccElemVT = Acc.getValueType().getVectorElementType();
1312813129
if (Op1IsSigned != NodeIsSigned &&

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8126,10 +8126,9 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
81268126
case Intrinsic::vector_partial_reduce_fadd: {
81278127
SDValue Acc = getValue(I.getOperand(0));
81288128
SDValue Input = getValue(I.getOperand(1));
8129-
setValue(&I,
8130-
DAG.getNode(ISD::PARTIAL_REDUCE_FMLA, sdl, Acc.getValueType(), Acc,
8131-
Input,
8132-
DAG.getConstantFP(1.0, sdl, Input.getValueType())));
8129+
setValue(&I, DAG.getNode(
8130+
ISD::PARTIAL_REDUCE_FMLA, sdl, Acc.getValueType(), Acc,
8131+
Input, DAG.getConstantFP(1.0, sdl, Input.getValueType())));
81338132
return;
81348133
}
81358134
case Intrinsic::experimental_cttz_elts: {

0 commit comments

Comments
 (0)