[Mlir-commits] [mlir] [mlir][python] Add location source composition to loc_tracebacks() (PR #192310)

Guray Ozen llvmlistbot at llvm.org
Fri Apr 17 02:08:47 PDT 2026


grypp wrote:

> Thanks for the review @makslevental ! 
> 
> I updated the diff to directly use nanobind enums instead of strings, as suggested. 
> 
> 
> 
> This is for the CuTeDSL project , I'm working on it alongside Guray Ozen.  @grypp ; The immediate purpose for this is to enable deep tracebacks and NameLocs without having to remove all existing loc= assignments in the codes, while keeping it fully backwards compatible :) 

CuTeDSL kind of manually collects location with a py decorator. We'd like to move to automatic one :) 

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


More information about the Mlir-commits mailing list