From df7095e67ea06f7d6a81d99e70c804ce54ef950d Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 19 Aug 2026 05:13:13 +0800 Subject: [GlobalISel] Generate prelegalizer combiner rules --- backend/utils/TableGen/TableGenBackends.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backend/utils/TableGen/TableGenBackends.h') diff --git a/backend/utils/TableGen/TableGenBackends.h b/backend/utils/TableGen/TableGenBackends.h index a5f283e..5ac280e 100644 --- a/backend/utils/TableGen/TableGenBackends.h +++ b/backend/utils/TableGen/TableGenBackends.h @@ -18,6 +18,7 @@ struct GeneratedDescription final { std::string InstructionHeader; std::string TargetTables; std::string GlobalISel; + std::string GlobalISelCombiner; }; struct DescriptionGenerationResult final { @@ -44,6 +45,8 @@ struct DescriptionGenerationResult final { [[nodiscard]] std::string emitSearchableTables(const NormalizedTargetModel &Model); [[nodiscard]] std::string emitGlobalISel(const NormalizedTargetModel &Model, std::string_view SourceName); +[[nodiscard]] std::string emitGlobalISelCombiner(const NormalizedTargetModel &Model, + std::string_view SourceName); [[nodiscard]] DescriptionGenerationResult generateDescription(const std::string &SourceName, std::string SourceText); -- cgit v1.2.3