numba / numba-rvsdg

Numba compatible RVSDG (Regionalized Value State Dependence Graph) utilities.
https://numba-rvsdg.readthedocs.io/
BSD 2-Clause "Simplified" License
18 stars 7 forks source link

Missing or incorrect source location in the SCFG output #149

Open sklam opened 2 months ago

sklam commented 2 months ago

SCFG should retain source location of the original AST.

It's currently set to line 0 for many new nodes: e.g https://github.com/numba/numba-rvsdg/blob/77a957a232f70d1868cdcaec10adb324571b5c1c/numba_rvsdg/core/datastructures/ast_transforms.py#L690