From 76d89700953ddd81cf31ab8f260eddf67e93aa85 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Fri, 7 Aug 2026 01:27:41 +0800 Subject: [MIR] Complete document parsing and printing Implement the single LLVM-compatible MIR document path with structured\nembedded-IR references, YAML mappings, constants, and deterministic printing.\n\nKeep pointer LLT widths DataLayout-derived, reject layout-dependent output\nwhen embedded IR is omitted, and record the fixed-baseline compatibility\ncontract and regression coverage. --- backend/include/rcc/CodeGen/MachineConstantPool.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'backend/include/rcc/CodeGen/MachineConstantPool.h') diff --git a/backend/include/rcc/CodeGen/MachineConstantPool.h b/backend/include/rcc/CodeGen/MachineConstantPool.h index cc9ae04..a0c269b 100644 --- a/backend/include/rcc/CodeGen/MachineConstantPool.h +++ b/backend/include/rcc/CodeGen/MachineConstantPool.h @@ -3,6 +3,7 @@ #ifndef RCC_CODEGEN_MACHINECONSTANTPOOL_H #define RCC_CODEGEN_MACHINECONSTANTPOOL_H +#include "rcc/CodeGen/GenericConstant.h" #include "rcc/CodeGen/MachineIRTypes.h" #include "rcc/CodeGen/MachineMemOperand.h" #include "rcc/CodeGen/TargetConstant.h" @@ -59,14 +60,6 @@ struct ConstantPoolPlacement final { const ConstantPoolPlacement &Right) = default; }; -struct GenericConstantData final { - std::string TypeIdentity; - std::vector Bytes; - - friend bool operator==(const GenericConstantData &Left, - const GenericConstantData &Right) = default; -}; - struct SymbolDifferenceConstant final { std::string Minuend; std::string Subtrahend; -- cgit v1.2.3