-
```python
def udt(i):
while i < 10:
if i > 2:
s = 123
i += 1
return s
```
```pytb
numba-rvsdg/numba_rvsdg/core/datastructures/scfg.py:734: in restructure…
sklam updated
1 month ago
-
Implement a graph that supports the next blocks according to the RVSDG paper:
1. gamma nodes
2. theta nodes
3. delta nodes
4. lambda nodes
5. phi nodes
6. omega nodes
optionally: implement …
-
This is a reminder to refactor `numba_rvsdg/tests/test_figures.py` as per:
https://github.com/numba/numba-rvsdg/pull/50#discussion_r1253057244
Pending merge of #50 and #75
-
Given the following code
```c
int main() {
for (int y = 0; y < 1; y++);
return 0;
}
```
there is a miscompilation causing an infinite loop when compiled like so:
```
clang-17 src/ma…
haved updated
1 month ago
-
Following Bril causes error in `from_cfg.rs`:
```
# ARGS: 2
@main(n: int) {
curr: int = const 1;
prev: int = const 1;
zero: int = const 0;
i: int = const 1;
print prev;…
-
Background:
- [RVSDG: An Intermediate Representation for Optimizing Compilers](https://arxiv.org/pdf/1912.05036.pdf)
- [RVSDG: An Intermediate Representation for the Multi-Core Era](https://www.sjal…
-
From `DEBUGGRAPH=1 pytest numba_rvsdg/tests/test_mock_asm.py::test_mock_scfg_fuzzer_case146` in #42
CFG:
![Screenshot 2023-04-18 at 5 34 37 PM](https://user-images.githubusercontent.com/1929845/…
-
This is a variant on the SCC algorithm, mainly the `yield` statement are replaced: https://gist.github.com/sklam/dbe21c6df5b882bc41a27ff3e6cf79a0
Error:
```
Traceback (most recent call last):
…
-
Error:
`thread 'main' panicked at 'Tried to unwrap state edge', src/rvsdg/to_cfg.rs:62:38`
Program that fails:
```
# ARGS: 3
@main(n: int) {
i: int = const 3;
x: int = add n i;
.loop…
-
## graph (control dependencies + SSA IR)
- sea of nodes:
- https://darksi.de/d.sea-of-nodes/
- https://www.oracle.com/technetwork/java/javase/tech/c2-ir95-150110.pdf
- thorin:
- https://co…