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-02 17:12:57 -07:00
2021-01-07 23:48:58 -08:00
2021-01-10 17:47:34 -08:00
2020-12-23 16:24:22 +02:00
2020-02-28 14:51:54 -05:00
2020-12-08 21:59:24 -07:00
2021-01-07 23:48:58 -08:00
2020-12-28 15:27:31 +02:00
2020-10-31 12:21:49 +02:00
2021-01-04 14:14:04 -08:00
2020-12-05 20:14:04 +01:00
2020-12-18 15:54:01 -07:00
2020-12-11 18:34:34 -05:00
2021-01-07 23:48:58 -08:00
2021-01-03 15:08:32 -08:00