Skip to content

Commit 7464dc8

Browse files
authored
[RISCV] Include RISCVGenSearchTable.inc in RISCVISelDAGToDAG.h (#126326)
This line was previously removed when 12d4724 moved it to RISCVInstrInfo.h. But we probably don't want to have dangling `#define *_DECL` (RISCVGenSearchableTables.inc will `#undef` these macros) and I think there is no harm putting declarations of those search table functions in RISCVISelDAGToDAG.h.
1 parent 3e2afe5 commit 7464dc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ struct VLX_VSXPseudo {
278278
#define GET_RISCVVSETable_DECL
279279
#define GET_RISCVVLXTable_DECL
280280
#define GET_RISCVVSXTable_DECL
281+
#include "RISCVGenSearchableTables.inc"
281282
} // namespace RISCV
282283

283284
} // namespace llvm

0 commit comments

Comments
 (0)