Commit Graph

64 Commits

Author SHA1 Message Date
ridethepig
2a4b906ec2 refine directory placement 2023-07-16 22:26:48 +08:00
ridethepig
3c5710957d reformat 2023-07-10 15:04:56 +08:00
ridethepig
648350d743 fixup before submit 2023-07-09 23:54:55 +08:00
ridethepig
8e570f6b4d peephole 2023-06-19 16:14:43 +08:00
ridethepig
2ec8ff8ed5 bug fix on hidden case 2023-06-18 19:53:09 +08:00
ridethepig
4470c97411 add timer to test script 2023-06-18 19:02:23 +08:00
ridethepig
c97f3dfdac block merge 2023-06-18 18:55:28 +08:00
ridethepig
247d92b0ab dead code elimination 2023-06-18 00:54:52 +08:00
ridethepig
07a078b80e simple constant fold 2023-06-15 23:23:53 +08:00
ridethepig
40ac8b9d65 SCCP 2023-06-15 22:14:00 +08:00
ridethepig
3b5cd82206 refine mem2reg, frontend refactor 2023-06-15 09:21:56 +08:00
ridethepig
81bd968258 RegAlloc pass all func test 2023-06-14 20:53:57 +08:00
ridethepig
6bf4093bfb first sysy2asm all function pass 2023-06-14 17:37:08 +08:00
ridethepig
988534f446 fix heap overflow 2023-06-13 21:28:43 +08:00
ridethepig
8b0f0f63a1 buggy buggy reg alloc 2023-06-12 20:50:05 +08:00
ridethepig
7a74685838 treat local const array as global 2023-06-08 17:30:58 +08:00
ridethepig
5c1278280a optimize local array init 2023-06-08 17:13:53 +08:00
ridethepig
3073d69806 add fmtlib 2023-06-08 16:33:49 +08:00
ridethepig
571ab10f62 trivial 2023-06-05 18:33:50 +08:00
ridethepig
8d23769410 trivial 2023-06-05 00:50:24 +08:00
ridethepig
01ec3d83f2 add rv64 sim to tester script 2023-05-30 00:55:45 +08:00
ridethepig
6f1836450a prepare for rv64 sim (ignoring buggy reg alloc) 2023-05-29 01:23:10 +08:00
ridethepig
9b9a96881a buggy reg alloc 2023-05-26 21:51:41 +08:00
ridethepig
32bb8f38a7 llvm ir to low-level ir 2023-05-25 17:07:36 +08:00
ridethepig
3191c3ad10 rename namespace 2023-05-24 20:40:45 +08:00
ridethepig
44d42d3163 better gep generation 2023-05-24 17:05:58 +08:00
ridethepig
67a32e446e machine code gen part 1 2023-05-23 23:38:48 +08:00
ridethepig
a2d0c211a4 prepare to code selection 2023-05-23 13:58:25 +08:00
ridethepig
8a9c32e820 first workable Mem2Reg 2023-05-22 11:15:19 +08:00
ridethepig
5e6107a02e avoid useless icmp-ne insertion in visitor 2023-05-21 10:34:23 +08:00
ridethepig
b5e1610047 switch to O1 flag 2023-05-20 13:33:40 +08:00
ridethepig
375a325899 fix dominance 2023-05-20 13:23:09 +08:00
ridethepig
c2e91b1e3c improved cfg with block simplification 2023-05-20 12:29:41 +08:00
ridethepig
2a36406e3d buggy mem2reg 2023-05-20 10:46:46 +08:00
ridethepig
7140d0bf2b add dominance(partial) 2023-05-17 21:38:28 +08:00
ridethepig
34a5a8ff01 start to add passes 2023-05-17 00:58:30 +08:00
ridethepig
a9a340f482 Rename API, Make emit IR optional 2023-05-17 00:25:13 +08:00
ridethepig
57094c9afe functional all pass 2023-05-16 00:41:02 +08:00
ridethepig
0bc5ea8f10 remove testcases from main repo 2023-05-15 20:04:21 +08:00
ridethepig
ee09258b41 new test script 2023-05-15 13:49:11 +08:00
ridethepig
436d22b452 fix cond gen 2023-05-15 10:20:40 +08:00
ridethepig
391b529960 At least, they all compiles 2023-05-14 19:44:51 +08:00
ridethepig
53b6e3e33f buggy ir gen 2023-05-13 10:37:31 +08:00
ridethepig
db20cad1df new clang format config 2023-05-13 00:54:48 +08:00
ridethepig
547651676c trivial update 2023-05-11 10:19:03 +08:00
ridethepig
ae32334ccc compile and link on x86 2023-05-08 22:58:12 +08:00
ridethepig
4706c79a6d at least everything compiles 2023-05-08 21:16:16 +08:00
ridethepig
4458c23fc7 additional test cases 2023-05-08 21:15:52 +08:00
ridethepig
1bbad18f52 bugfix 2023-05-08 19:41:14 +08:00
ridethepig
dd48562daa buggy buggy frontend 2023-05-07 21:59:04 +08:00