mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-17 22:50:29 +00:00
This has subtle effects on the number of imported instructions, but seems more standard for how this code is being written... `GetLocalConstantId` calls `GetLocalConstantValueOrPush` which does `local_constant_values_for_import_insts().GetAttached`. So what this is really doing is causing some intermediate import steps to be skipped. But per test changes, that doesn't really affect SemIR and will probably have negligible effect. This *seems* right to me, otherwise I'd expect we should probably refactor all `GetLocalConstantId(InstId)` calls.