From 3b14bd4d5324b5a280c1ee5567b5526b59e60c5b Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Thu, 27 Aug 2026 17:13:36 +0800 Subject: [GlobalISel] Generate floating memory selection --- backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h | 1 + backend/include/rcc/TableGen/Record.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'backend/include/rcc') diff --git a/backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h b/backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h index d8bdc1a..f191db2 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h +++ b/backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h @@ -49,6 +49,7 @@ enum class GIMatchTableOpcode : std::uint8_t { CheckOperandDefOperandConstantRanges, CaptureDefOperand, CreateTemporary, + CreateTemporaryType, MutateOpcode, BuildInstruction, RenderOperand, diff --git a/backend/include/rcc/TableGen/Record.h b/backend/include/rcc/TableGen/Record.h index f3c7d12..525d63f 100644 --- a/backend/include/rcc/TableGen/Record.h +++ b/backend/include/rcc/TableGen/Record.h @@ -348,7 +348,8 @@ struct SourceSelectionDefUsePredicate final { struct SourceSelectionTemporary final { std::string Symbol; - std::uint32_t TypeFromOperand = 0; + std::optional TypeFromOperand; + std::optional Type; TextRange Range; }; -- cgit v1.2.3