Skip to content

Commit 9373b3a

Browse files
committed
clang-format
1 parent bb9500f commit 9373b3a

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#include "RISCVISelDAGToDAG.h"
14-
#include "RISCVSelectionDAGInfo.h"
1514
#include "MCTargetDesc/RISCVBaseInfo.h"
1615
#include "MCTargetDesc/RISCVMCTargetDesc.h"
1716
#include "MCTargetDesc/RISCVMatInt.h"
1817
#include "RISCVISelLowering.h"
1918
#include "RISCVInstrInfo.h"
19+
#include "RISCVSelectionDAGInfo.h"
2020
#include "llvm/CodeGen/MachineFrameInfo.h"
2121
#include "llvm/IR/IntrinsicsRISCV.h"
2222
#include "llvm/Support/Alignment.h"

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6965,8 +6965,6 @@ static unsigned getRISCVVLOp(SDValue Op) {
69656965
#undef VP_CASE
69666966
}
69676967

6968-
6969-
69706968
static bool isPromotedOpNeedingSplit(SDValue Op,
69716969
const RISCVSubtarget &Subtarget) {
69726970
if (Op.getValueType() == MVT::nxv32f16 &&
@@ -12565,7 +12563,7 @@ SDValue RISCVTargetLowering::lowerFixedLengthVectorSelectToRVV(
1256512563
SDValue RISCVTargetLowering::lowerToScalableOp(SDValue Op,
1256612564
SelectionDAG &DAG) const {
1256712565
const auto &TSInfo =
12568-
static_cast<const RISCVSelectionDAGInfo &>(DAG.getSelectionDAGInfo());
12566+
static_cast<const RISCVSelectionDAGInfo &>(DAG.getSelectionDAGInfo());
1256912567

1257012568
unsigned NewOpc = getRISCVVLOp(Op);
1257112569
bool HasPassthruOp = TSInfo.hasPassthruOp(NewOpc);
@@ -12621,7 +12619,7 @@ SDValue RISCVTargetLowering::lowerToScalableOp(SDValue Op,
1262112619
// types.
1262212620
SDValue RISCVTargetLowering::lowerVPOp(SDValue Op, SelectionDAG &DAG) const {
1262312621
const auto &TSInfo =
12624-
static_cast<const RISCVSelectionDAGInfo &>(DAG.getSelectionDAGInfo());
12622+
static_cast<const RISCVSelectionDAGInfo &>(DAG.getSelectionDAGInfo());
1262512623

1262612624
unsigned RISCVISDOpc = getRISCVVLOp(Op);
1262712625
bool HasPassthruOp = TSInfo.hasPassthruOp(RISCVISDOpc);
@@ -18376,7 +18374,7 @@ static SDValue combineToVWMACC(SDNode *N, SelectionDAG &DAG,
1837618374
return SDValue();
1837718375

1837818376
const auto &TSInfo =
18379-
static_cast<const RISCVSelectionDAGInfo &>(DAG.getSelectionDAGInfo());
18377+
static_cast<const RISCVSelectionDAGInfo &>(DAG.getSelectionDAGInfo());
1838018378
unsigned Opc = TSInfo.getMAccOpcode(MulOp.getOpcode());
1838118379

1838218380
SDLoc DL(N);

llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313

1414
using namespace llvm;
1515

16-
RISCVSelectionDAGInfo::RISCVSelectionDAGInfo() : SelectionDAGGenTargetInfo(RISCVGenSDNodeInfo) {}
16+
RISCVSelectionDAGInfo::RISCVSelectionDAGInfo()
17+
: SelectionDAGGenTargetInfo(RISCVGenSDNodeInfo) {}
1718

1819
RISCVSelectionDAGInfo::~RISCVSelectionDAGInfo() = default;
1920

20-
void RISCVSelectionDAGInfo::verifyTargetNode(const SelectionDAG &DAG, const SDNode *N) const {
21+
void RISCVSelectionDAGInfo::verifyTargetNode(const SelectionDAG &DAG,
22+
const SDNode *N) const {
2123
switch (N->getOpcode()) {
2224
case RISCVISD::PROBED_ALLOCA:
2325
// FIXME: Current examples do not match the SDTypeProfile.

llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class RISCVSelectionDAGInfo : public SelectionDAGGenTargetInfo {
3030

3131
~RISCVSelectionDAGInfo() override;
3232

33-
void verifyTargetNode(const SelectionDAG &DAG, const SDNode *N) const override;
33+
void verifyTargetNode(const SelectionDAG &DAG,
34+
const SDNode *N) const override;
3435

3536
bool hasPassthruOp(unsigned Opcode) const {
3637
return GenNodeInfo.getDesc(Opcode).TSFlags & RISCVISD::HasPassthruOpMask;

0 commit comments

Comments
 (0)