Merge branch 'backend' into midend

This commit is contained in:
Lixuanwang
2025-07-23 19:30:19 +08:00
14 changed files with 1096 additions and 202 deletions

View File

@@ -216,7 +216,7 @@ int main(int argc, char **argv) {
// 设置 DEBUG 模式(如果指定了 'asmd'
if (argStopAfter == "asmd") {
DEBUG = 1;
// DEEPDEBUG = 1;
DEEPDEBUG = 1;
}
sysy::RISCv64CodeGen codegen(moduleIR); // 传入优化后的 moduleIR
string asmCode = codegen.code_gen();