From 495c675771f43cfa12ab7a426a538be72fec1805 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Sun, 9 Aug 2026 17:03:19 +0800 Subject: [CodeGen] Implement machine optimization and scheduling --- backend/lib/Support/Error.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'backend/lib/Support/Error.cpp') diff --git a/backend/lib/Support/Error.cpp b/backend/lib/Support/Error.cpp index f18cc45..88e16c9 100644 --- a/backend/lib/Support/Error.cpp +++ b/backend/lib/Support/Error.cpp @@ -18,6 +18,16 @@ std::string_view getErrorCodeName(ErrorCode Code) noexcept { return "register allocation failed"; case ErrorCode::FrameLayoutFailed: return "frame layout failed"; + case ErrorCode::SchedulingFailed: + return "scheduling failed"; + case ErrorCode::BranchRelaxationFailed: + return "branch relaxation failed"; + case ErrorCode::PseudoExpansionFailed: + return "pseudo expansion failed"; + case ErrorCode::FinalEncodabilityFailed: + return "final encodability failed"; + case ErrorCode::CFGOptimizationFailed: + return "CFG optimization failed"; case ErrorCode::IoError: return "I/O error"; case ErrorCode::InternalError: -- cgit v1.2.3