zig/src-self-hosted
Andrew Kelley 28a9da8bfc stage2: implement while loops (bool condition)
* introduce a dump() function on Module.Fn which helpfully prints to
   stderr the ZIR representation of a function (can be called before
   attempting to codegen it). This is a debugging tool.
 * implement x86 codegen for loops
 * liveness: fix analysis of conditional branches. The logic was buggy
   in a couple ways:
   - it never actually saved the results into the IR instruction (fixed now)
   - it incorrectly labeled operands as dying when their true death was
     after the conditional branch ended (fixed now)
 * zir rendering is enhanced to show liveness analysis results. this
   helps when debugging liveness analysis.
 * fix bug in zir rendering not numbering instructions correctly

closes #6021
2020-08-13 20:32:32 -07:00
..
2020-08-13 20:32:32 -07:00
2020-08-12 21:58:21 -07:00
2019-12-29 11:04:58 +02:00
2020-07-24 20:01:18 +00:00
2020-06-24 20:28:52 -04:00
2020-02-16 13:25:30 -05:00
2020-08-13 20:32:32 -07:00