| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | backend: fix memory leak from not calling deluses() after replcuses in some ↵ | 2026-04-11 | 1 | -6/+5 | |
| | | | | | places | ||||
| * | backend: run mem2reg after inlining | 2026-04-11 | 1 | -1/+5 | |
| | | |||||
| * | mkintcon: bugfix clamp i32 to i32 range | 2026-04-09 | 1 | -2/+4 | |
| | | |||||
| * | abi: fix use bug preventing mem2reg optimization of struct return | 2026-03-25 | 1 | -4/+4 | |
| | | |||||
| * | IR: emit inline function standalone bodies lazily | 2026-03-23 | 1 | -2/+9 | |
| | | | | | | | | If a function is stashed for inlining and inlined in all of its callsites or unused, it never ends up in the object file. If any symbol reference to it is emitted, then it must be de-inlined (rematerialized), and this is done near the end before emitting the actual object file. | ||||
| * | IR: mark free'd instructions as such | 2026-03-23 | 1 | -15/+26 | |
| | | | | | | That way they are not copied when inlining. Also rename ninstr -> ninstrtab. opnarg -> opnoper | ||||
| * | style: change uvlong -> u64int, vlong -> s64int | 2026-03-22 | 1 | -1/+1 | |
| | | | | | | Is much nicer. I don't know whether I want to do it for the other int types too. char and uchar are fine as bytes. u/short -> u/s16int, maybe. | ||||
| * | IR: add 3rd operand to Instr | 2026-03-22 | 1 | -1/+1 | |
| | | | | | | The motivation is for aarch64 msub/madd instrs, for isel to produce. But it should be useful for other things too. | ||||
| * | ir: do not always try to put small literals in .text | 2026-03-19 | 1 | -1/+10 | |
| | | | | | | OpenBSD enforces read xor execute (XOM) even in x86-64. Not aware of any other platforms that do this. | ||||
| * | Refactor: use typedefs and CamelCase for aggregate types | 2026-03-18 | 1 | -92/+92 | |
| | | | | | Looks nicer | ||||
| * | Refactor: move some utils from antcc.h to their own headers | 2026-03-17 | 1 | -0/+1 | |
| | | |||||
| * | REFACTOR: finish renaming | 2026-03-17 | 1 | -3/+3 | |
| | | |||||
| * | REFACTOR: move sources to src/ | 2026-03-17 | 1 | -0/+689 | |