Timon Kruiper
e1d8073d2f
stage2: add support for loops in LLVM backend
A simple `while(true) {}` loop generates the following LLVMIR:
```
define i32 @main() {
Entry:
br label %Loop
Loop: ; preds = %Loop, %Entry
br label %Loop
}
```
Also implement TZIR printing for loops and add a corresponding test.
2021-01-10 17:47:34 -08:00
..
2021-01-08 19:30:52 +01:00
2020-09-21 18:38:55 -07:00
2021-01-01 14:43:12 -08:00
2021-01-01 12:22:16 +01:00
2021-01-07 23:49:22 -08:00
2021-01-10 17:47:34 -08:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00
2021-01-02 19:11:55 -07:00
2020-09-21 18:38:55 -07:00
2020-09-21 18:38:55 -07:00