Skip to content

Commit 98e35df

Browse files
committed
Fix formatting
1 parent 461f48e commit 98e35df

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
@@ -8084,10 +8084,9 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
80848084
case Intrinsic::vector_partial_reduce_fadd: {
80858085
SDValue Acc = getValue(I.getOperand(0));
80868086
SDValue Input = getValue(I.getOperand(1));
8087-
setValue(&I,
8088-
DAG.getNode(ISD::PARTIAL_REDUCE_FMLA, sdl, Acc.getValueType(), Acc,
8089-
Input,
8090-
DAG.getConstantFP(1.0, sdl, Input.getValueType())));
8087+
setValue(&I, DAG.getNode(
8088+
ISD::PARTIAL_REDUCE_FMLA, sdl, Acc.getValueType(), Acc,
8089+
Input, DAG.getConstantFP(1.0, sdl, Input.getValueType())));
80918090
return;
80928091
}
80938092
case Intrinsic::experimental_cttz_elts: {

0 commit comments

Comments
 (0)