From 8a4bb6e3b0bffa0ed79b51347b12ee4293b622a7 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Sat, 22 Aug 2026 18:49:08 +0800 Subject: [CodeGen] Generate RISC-V macro fusion rules --- backend/include/rcc/CodeGen/MachineOperand.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'backend/include/rcc/CodeGen/MachineOperand.h') diff --git a/backend/include/rcc/CodeGen/MachineOperand.h b/backend/include/rcc/CodeGen/MachineOperand.h index d82e41a..fecb4e0 100644 --- a/backend/include/rcc/CodeGen/MachineOperand.h +++ b/backend/include/rcc/CodeGen/MachineOperand.h @@ -330,9 +330,10 @@ public: std::uint32_t TargetFlags = 0); [[nodiscard]] static MachineOperand jumpTable(JumpTableIndex Index, std::uint32_t TargetFlags = 0); - [[nodiscard]] static Expected - globalSymbol(std::string Name, std::int64_t Offset = 0, std::uint32_t TargetFlags = 0, - GlobalValueProperties Properties = {}); + [[nodiscard]] static Expected globalSymbol(std::string Name, + std::int64_t Offset = 0, + std::uint32_t TargetFlags = 0, + GlobalValueProperties Properties = {}); [[nodiscard]] static Expected externalSymbol(std::string Name, std::int64_t Offset = 0, std::uint32_t TargetFlags = 0); [[nodiscard]] static Expected blockAddress(std::string FunctionName, -- cgit v1.2.3