aboutsummaryrefslogtreecommitdiff
path: root/backend/include
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-27 17:13:36 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-27 17:13:36 +0800
commit3b14bd4d5324b5a280c1ee5567b5526b59e60c5b (patch)
tree1881fc10785a8c195c9b1cdb2ddde6c310f63ab7 /backend/include
parentdd477bc887546b00144ea6c0a3e03ad366661636 (diff)
downloadrcc-project-3b14bd4d5324b5a280c1ee5567b5526b59e60c5b.tar.gz
rcc-project-3b14bd4d5324b5a280c1ee5567b5526b59e60c5b.tar.xz
[GlobalISel] Generate floating memory selection
Diffstat (limited to 'backend/include')
-rw-r--r--backend/include/rcc/CodeGen/GlobalISel/GIMatchTableExecutor.h1
-rw-r--r--backend/include/rcc/TableGen/Record.h3
2 files changed, 3 insertions, 1 deletions
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<std::uint32_t> TypeFromOperand;
+ std::optional<SourceSelectionTypePredicate> Type;
TextRange Range;
};