aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc')
-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;
};