-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Minimal example:
@main {
num: int = const 12;
ans: int = call @loop_with_early_ret num;
print ans;
}
@loop_with_early_ret(n: int): int {
f: bool = const false;
.loop:
br f .break .continue;
.break:
ret n;
.continue:
br f .loop .done;
.done:
ret n;
}
Round trip is an error:
thread 'main' panicked at src/rvsdg/to_cfg.rs:285:46:
index out of bounds: the len is 2 but the index is 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels