[死代码删除]:保证扩展性、模块化构建死代码删除,包括消除无用store,alloca,load,globalval,mem2reg引入的无用alloca以及reg2mem导致的store-load-store冗余存储

This commit is contained in:
rain2133
2025-06-25 15:33:25 +08:00
parent b12732f10d
commit 0d23475aa1
5 changed files with 108 additions and 20 deletions

View File

@@ -19,6 +19,7 @@ add_executable(sysyc
SysYIRPrinter.cpp
SysYIROptPre.cpp
SysYIRAnalyser.cpp
DeadCodeElimination.cpp
Mem2Reg.cpp
Reg2Mem.cpp
RISCv32Backend.cpp