# Retain original identifier names for debugging

**URL:** <https://discourse.llvm.org/t/retain-original-identifier-names-for-debugging/76417>\
**Category:** MLIR\
**Created:** [January 21, 2024, 12:30pm UTC](https://discourse.llvm.org/t/retain-original-identifier-names-for-debugging/76417 "2024-01-21T12:30:59Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![clattner](https://sea1.discourse-cdn.com/flex021/user_avatar/discourse.llvm.org/clattner/32/187_2.png) [@clattner](https://discourse.llvm.org/u/clattner)\
**Post date:** [February 21, 2024, 8:53pm UTC](https://discourse.llvm.org/t/retain-original-identifier-names-for-debugging/76417/23 "2024-02-21T20:53:08Z")

</div>

My opinion on this is that there isn’t a satisfiable solution. You can’t have both 1) low impact on existing clients, and 2) any guarantees about maintenance of this information. These are strictly contradictory.

LLVM IR tried a middle ground and doesn’t satisfy either of these approaches. Existing MLIR clients will (rightfully IMO) push back against impact on them because (by definition) no existing clients actually use this information.

My personal recommendation is to pursue the “least-invasive approach even if flawed” approach, and if there develop important clients that can justify why the new thing is required and not good enough, and if there are no satisfactory alternative implementation approaches, then more invasive approaches could be considered.

This is a bit of “[boiling the frog](https://en.wikipedia.org/wiki/Boiling_frog)” approach to infrastructure evolution.

-Chris

---

_[View the full topic](https://discourse.llvm.org/t/retain-original-identifier-names-for-debugging/76417)._
