Commit Graph

53 Commits

Author SHA1 Message Date
c54543bff3 更新目录结构,修改IR结构,部分修复IR生成 2025-06-20 22:46:04 +08:00
1de8c0e7d7 引入了常量池优化,修改constvalue类并对IR生成修复,能够编译通过 2025-06-19 00:18:58 +08:00
1aa785efc3 add arraytype def 2025-06-16 20:56:32 +08:00
5727d3bde5 [IR Gen] debugging SIGSEGV 2025-06-09 21:11:17 +08:00
3c5fb7d17b [IR Gen] fixed build errors 2025-06-09 20:06:05 +08:00
7d08763b2e [IR gen] debugging 2025-06-09 19:30:37 +08:00
c47d522e3a [IR Gen] debugging expreimental IR generator 2025-06-09 19:29:59 +08:00
5e84961dcf [IR gen] introduced IR builder into LLVMIRGenerator 2025-06-09 00:47:47 +08:00
df209f976e fixed bugs brought out by merging 2025-05-30 02:13:17 +08:00
969c83125d Merge branch 'lab2-IRGen' 2025-05-30 02:06:43 +08:00
fbb2f5f310 replace "i++;" with "i = i + 1;" in testcase 20 2025-05-30 01:57:24 +08:00
77f79dcbaf merging, fixed some bugs 2025-05-30 01:34:47 +08:00
551d727733 merging 2025-05-29 22:09:16 +08:00
1c799bd04f merging 2025-05-29 19:25:46 +08:00
09d67fdaf1 merging branch lab2-IRGen into master 2025-05-29 17:14:42 +08:00
1e47af2771 merging branch lab2-IRGen into master 2025-05-29 16:09:17 +08:00
bb73ce3b5a merging branch lab2-IRGen into master 2025-05-28 23:49:02 +08:00
f286845463 [lab3]addl movl ret passes clang test 2025-05-27 12:03:26 +08:00
29aea7781f [lab3] add print support for functions, blocks and instructions 2025-05-27 11:43:14 +08:00
dc7202849c [lab3] add middle-end and backend with bugs to fix 2025-05-26 23:17:31 +08:00
338e5ef9a4 Introduce middle-end 2025-05-24 16:27:48 +08:00
ec8deeeebf [lab2][night release]temporary stable version 0.1 2025-04-02 18:40:01 +08:00
9f562aa0be [lab2]implemented while, break, continue 2025-04-01 17:50:17 +08:00
9d619b11d7 [lab2]checkopint with "while, continue, break" not implemented 2025-03-31 20:46:04 +08:00
dfa396b06f [lab2]now 01_add.ll generated by sysy can be compiled to executable by clang 2025-03-31 03:54:39 +08:00
90ba6db318 [lab2]IR-Gen implementation using given code by xxy
Merge pull request !4 from Downright/master
2025-03-26 11:42:19 +00:00
a35c63245e Remove .vscode dir 2025-03-26 18:34:36 +08:00
f01c38d3e8 commit 4 cmakelist and .gitignore 2025-03-26 18:29:17 +08:00
f74d319399 pass test 11_add2 2025-03-26 11:44:34 +08:00
1322ed8e08 gdb json 2025-03-26 11:39:29 +08:00
9bea0879e0 pass test1,but test2 segmentation fault 2025-03-26 11:39:22 +08:00
8a743a0036 [lab2]add a TODO table 2025-03-24 21:18:40 +08:00
93607333ad [lab2]fixed a lot of bugs 2025-03-24 19:26:42 +08:00
7f364abffb frame finished but bad_any_cast 2025-03-24 19:06:49 +08:00
a36f73c8a2 add file 2025-03-24 00:44:52 +08:00
5567f82783 [lab2]修复了标签冗余错误,以及一些其他bug 2025-03-22 22:33:00 +08:00
ed44877164 [lab2]some bugs fixed 2025-03-19 20:59:50 +08:00
3e80cb8f3f add tag4stmt in .g4,format cpp modification needed 2025-03-19 20:35:37 +08:00
d4d7e6494b exp2 first commit 2025-03-19 19:06:14 +08:00
57ccf6f0e3 [lab2]bugs fixed,but more bugs rised up 2025-03-12 16:11:06 +08:00
3d60a94894 [lab2] testfile01 finished 2025-03-10 21:43:20 +08:00
b0b03ff55b [lab2] runnable 2025-03-10 16:50:18 +08:00
ac75f3fddd up dated gitignore 2025-03-09 15:18:49 +08:00
qzx
a6f95366c8 fix a bug of issue1 2025-03-06 11:22:13 +08:00
0bfba3b0a2 update README.md.
Signed-off-by: LixuanWang <xlwmail@nudt.edu.cn>
2025-03-05 20:12:46 +00:00
52837cc977 update README.md.
Signed-off-by: LixuanWang <xlwmail@nudt.edu.cn>
2025-03-05 20:12:15 +00:00
48876482f6 bug report and example fix for issue1 2025-03-06 04:06:19 +08:00
2d18b9842f fix format bug for elsestme and stmt def in .g4
Merge pull request from Downright/master
2025-03-05 12:30:49 +00:00
51ed88f761 fix format bug for elsestme and stmt def in .g4 2025-03-05 13:43:27 +08:00
cc950e75c5 [lab1]almost completed
Merge pull request !1 from Downright/master
2025-03-04 06:32:37 +00:00