carbon-lang icon indicating copy to clipboard operation
carbon-lang copied to clipboard

There are some <unexpected> instructions in textual semir

Open danakj opened this issue 6 months ago • 1 comments
trafficstars

Description of the bug:

Some instructions have snuck into our test cases. We should figure out what instructions they reference and get those instructions to be in a block that is included in formatted semir.

Example in toolchain/check/testdata/alias/fail_control_flow.carbon: https://github.com/carbon-language/carbon-lang/pull/5361/files#diff-82254f33573e9d6dcdb65434312087f4513fc2e554290ed0309575daf9174814R80

danakj avatar Apr 29 '25 15:04 danakj

We should be concerned if these show up in valid code, but particularly for erroneous code, there may not be a good way to put instructions in a valid control flow that the formatter fully recognizes for naming.

jonmeow avatar Apr 29 '25 16:04 jonmeow

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please comment or remove the inactive label. The long term issue label can also be added for issues which are expected to take time.

This issue is labeled inactive because the last activity was over 90 days ago.

github-actions[bot] avatar Jul 29 '25 02:07 github-actions[bot]