[Mlir-commits] [mlir] Avoid unnecessary erasing of constant Locs (PR #151573)

Jacques Pienaar llvmlistbot at llvm.org
Mon Aug 4 22:55:39 PDT 2025


https://github.com/jpienaar approved this pull request.

I prefer retaining locations (for back tracing). The only thing this conceptually changes from baseline is that now if one deduped multiple, one would get whatever first constant's location as the deduped. Previously we did fuse, but that resulted in too large locations for some, this doesn't result in that (and perhaps a mode later if needed).

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


More information about the Mlir-commits mailing list