From 8be4d04455f70892a94d1e0798e266c948b4750a Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Fri, 14 Aug 2026 04:33:41 +0800 Subject: [CodeGen] Match LLVM Legalizer ownership --- backend/include/rcc/CodeGen/InstructionDescriptor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/include/rcc/CodeGen/InstructionDescriptor.h') diff --git a/backend/include/rcc/CodeGen/InstructionDescriptor.h b/backend/include/rcc/CodeGen/InstructionDescriptor.h index ddc42e8..ccd1b63 100644 --- a/backend/include/rcc/CodeGen/InstructionDescriptor.h +++ b/backend/include/rcc/CodeGen/InstructionDescriptor.h @@ -267,6 +267,10 @@ struct InstructionDescriptor final { InstructionSemanticVerifier VerifyInstructionSemantics = nullptr; }; +[[nodiscard]] Expected> +resolveExplicitOperandDescriptors(const InstructionDescriptor &Descriptor, + std::size_t OperandCount); + struct ImmediatePredicate final { ImmediatePredicateID ID; std::string Name; -- cgit v1.2.3