From 219b315373ef34ca20cc78b89bf3c3d19442ffbd Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 19 Aug 2026 03:41:05 +0800 Subject: [RISCV][GlobalISel] Generate integer load selection --- backend/utils/TableGen/Common/CodeGenTarget.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backend/utils/TableGen/Common/CodeGenTarget.h') diff --git a/backend/utils/TableGen/Common/CodeGenTarget.h b/backend/utils/TableGen/Common/CodeGenTarget.h index 020bb88..3a7d299 100644 --- a/backend/utils/TableGen/Common/CodeGenTarget.h +++ b/backend/utils/TableGen/Common/CodeGenTarget.h @@ -200,6 +200,11 @@ struct NormalizedSelectionFloatingPredicate final { std::uint32_t Predicate = 0; }; +struct NormalizedSelectionMemoryPredicate final { + std::uint32_t MemoryOperandIndex = 0; + std::uint32_t Bytes = 0; +}; + struct NormalizedSelectionConstantRange final { std::int64_t Minimum = 0; std::int64_t Maximum = 0; @@ -272,6 +277,7 @@ struct NormalizedSelectionRule final { std::optional ResultType; std::optional IntegerPredicate; std::optional FloatingPredicate; + std::optional MemoryPredicate; std::vector TargetPredicates; std::vector OperandTypes; std::vector OperandBanks; -- cgit v1.2.3