From 3341938bb644e6fc39afa6a8fcb1306604999e42 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 12 Aug 2026 22:37:49 +0800 Subject: [RISCV] Split the GlobalISel target components --- backend/lib/CodeGen/InstructionDescriptor.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'backend/lib/CodeGen/InstructionDescriptor.cpp') diff --git a/backend/lib/CodeGen/InstructionDescriptor.cpp b/backend/lib/CodeGen/InstructionDescriptor.cpp index fa00537..2c99939 100644 --- a/backend/lib/CodeGen/InstructionDescriptor.cpp +++ b/backend/lib/CodeGen/InstructionDescriptor.cpp @@ -396,10 +396,9 @@ Expected InstructionSet::validateExplicitOperands(const InstructionDescrip const OperandDescriptor &OperandDesc = descriptorForOperand(Descriptor, *Shape, Index); const auto Validation = validateOperand(OperandDesc, Operand, RegInfo); if (!Validation) { - return makeUnexpected( - Validation.error().code(), - "operand " + std::to_string(Index) + " of '" + Descriptor.Name + "': " + - std::string(Validation.error().message())); + return makeUnexpected(Validation.error().code(), + "operand " + std::to_string(Index) + " of '" + Descriptor.Name + + "': " + std::string(Validation.error().message())); } if (Operand.isRegister()) { if (isDefRole(OperandDesc.RegisterRole)) { -- cgit v1.2.3