From f5c592905e6e1ef4b78337d76c8215e543607b8d Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Mon, 17 Aug 2026 03:16:26 +0800 Subject: [RISCV][GlobalISel] Generate conditional branch selection --- backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h | 1 + backend/include/rcc/TableGen/Record.h | 1 + 2 files changed, 2 insertions(+) (limited to 'backend/include') diff --git a/backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h b/backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h index 098f9d6..a5b8b8e 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h +++ b/backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h @@ -41,6 +41,7 @@ enum class GIMatchTableOpcode : std::uint8_t { CheckOperandImmediateRanges, CheckOperandDefConstantRanges, CheckOperandDefOpcode, + CheckOperandDefIntegerPredicate, CheckOperandDefOperandConstantRanges, CaptureDefOperand, CreateTemporary, diff --git a/backend/include/rcc/TableGen/Record.h b/backend/include/rcc/TableGen/Record.h index 1f9dea9..17b0e46 100644 --- a/backend/include/rcc/TableGen/Record.h +++ b/backend/include/rcc/TableGen/Record.h @@ -267,6 +267,7 @@ struct SourceSelectionDefUseCapture final { struct SourceSelectionDefUsePredicate final { std::uint32_t RootOperandIndex = 0; std::string OpcodeSymbol; + std::optional IntegerPredicate; std::vector Captures; std::vector OperandDefConstants; TextRange Range; -- cgit v1.2.3