mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 16:55:51 +01:00
The constant value we associate with an initializing representation is the object representation that the initializing expression will store to its destination. Also include the type in the profile of an instruction. This is now necessary for array values, which are represented as tuple_value instructions with array type, to avoid instructions with different types being merged by constant canonicalization.