Skip to content

Commit 0cccaa7

Browse files
committed
Remove verifyNode Override
1 parent 556545b commit 0cccaa7

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,3 @@ RISCVSelectionDAGInfo::RISCVSelectionDAGInfo()
1717
: SelectionDAGGenTargetInfo(RISCVGenSDNodeInfo) {}
1818

1919
RISCVSelectionDAGInfo::~RISCVSelectionDAGInfo() = default;
20-
21-
void RISCVSelectionDAGInfo::verifyTargetNode(const SelectionDAG &DAG,
22-
const SDNode *N) const {
23-
switch (N->getOpcode()) {
24-
case RISCVISD::PROBED_ALLOCA:
25-
// FIXME: Current examples do not match the SDTypeProfile.
26-
// They get "invalid number of results; expected 2, got 1"
27-
return;
28-
}
29-
SelectionDAGGenTargetInfo::verifyTargetNode(DAG, N);
30-
}

llvm/lib/Target/RISCV/RISCVSelectionDAGInfo.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ class RISCVSelectionDAGInfo : public SelectionDAGGenTargetInfo {
3131

3232
~RISCVSelectionDAGInfo() override;
3333

34-
void verifyTargetNode(const SelectionDAG &DAG,
35-
const SDNode *N) const override;
36-
3734
bool hasPassthruOp(unsigned Opcode) const {
3835
return GenNodeInfo.getDesc(Opcode).TSFlags & RISCVISD::HasPassthruOpMask;
3936
}

0 commit comments

Comments
 (0)