[Mlir-commits] [mlir] [MLIR] Auto generate source location for python bindings (PR #112923)

Maksim Levental llvmlistbot at llvm.org
Sat Jul 12 08:50:03 PDT 2025


makslevental wrote:

Alternatively, we could also make @grypp's solution runtime toggleable by adding to the emitted conditonal something like

```python
if loc is None and _globals.do_infer_location_info():
    loc = get_source_location()
```

https://github.com/llvm/llvm-project/pull/112923


More information about the Mlir-commits mailing list