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-05 18:43:41 -07:00
2021-01-07 23:48:58 -08:00
2021-01-10 00:41:02 -08:00
2021-01-09 12:50:39 -08:00
2021-01-02 19:03:14 -07:00
2021-01-02 19:03:14 -07:00
2021-01-07 23:48:58 -08:00
2020-12-17 19:32:40 +01:00
2020-09-21 18:38:55 -07:00
2021-01-07 23:49:22 -08:00
2021-01-02 19:03:14 -07:00
2020-09-21 18:38:55 -07:00
2021-01-07 23:49:22 -08:00
2018-10-27 11:35:01 -04:00
2021-01-05 18:43:41 -07:00