mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 22:02:37 +01:00
When an instruction is created as part of an implicit call to an interface member, we generated a bunch of constants for naming the interface, finding the corresponding specific, accessing its member function, and so on. This led to significant bloat in SemIR. Instead, we now track whether an instruction is created implicitly in its location, and where relevant, we use the constant value of the instruction directly instead of storing a new `Inst`. This doesn't reduce the amount of work we need to do, but does make the representation in SemIR smaller and more readable.