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-10 17:47:34 -08:00
2021-01-06 17:40:25 -07:00
2021-01-04 14:23:01 -08:00
2021-01-05 18:43:41 -07:00
2021-01-07 23:48:58 -08:00
2020-11-22 17:28:11 -07:00
2020-09-21 18:38:55 -07:00
2020-10-27 14:16:43 -07:00
2021-01-10 00:41:02 -08:00
2021-01-09 12:50:39 -08:00
2021-01-04 14:59:18 -07:00
2021-01-07 23:48:58 -08:00
2020-12-07 17:27:09 -07:00
2021-01-02 19:03:14 -07:00
2020-09-22 14:08:08 -07:00
2021-01-01 15:48:46 -07:00
2021-01-07 23:48:58 -08:00
2020-12-24 14:11:58 -07:00
2020-12-24 14:11:58 -07:00
2020-12-24 14:11:58 -07:00
2021-01-06 16:06:32 -08:00
2021-01-02 19:03:14 -07:00
2021-01-09 13:04:08 -08:00
2021-01-06 10:52:20 +01:00
2021-01-07 23:48:58 -08:00
2021-01-02 17:12:57 -07:00
2020-12-17 19:32:40 +01:00
2021-01-07 23:48:58 -08:00
2021-01-07 23:48:58 -08:00
2020-10-30 15:58:13 +02:00
2021-01-02 17:12:57 -07:00
2021-01-06 10:52:20 +01:00
2021-01-09 12:32:10 -08:00
2020-12-23 16:57:18 -08: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
2020-12-23 16:57:18 -08:00
2018-09-18 00:13:17 -04:00
2018-10-27 11:35:01 -04:00
2020-09-21 21:14:01 -07:00
2020-09-21 18:38:55 -07:00
2020-07-24 17:01:52 -07:00
2020-07-24 17:01:52 -07:00
2020-07-24 17:01:52 -07:00
2020-10-27 14:16:43 -07:00
2021-01-03 17:23:30 +01:00
2020-12-24 01:18:48 -07:00
2020-12-24 01:18:48 -07:00
2021-01-05 18:43:41 -07:00
2021-01-10 17:47:34 -08:00