# Eliminate switch_cond\[\_ref\] ZIR tags · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/85e94fed1e058720460560823ac09d7b64e49b97)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 85e94fed1e058720460560823ac09d7b64e49b97

Requested commit: 85e94fed1e058720460560823ac09d7b64e49b97

Commit: 85e94fed1e058720460560823ac09d7b64e49b97

Tree: df28ab8360a7cbdf32005532349b72e4713ef097

Author: mlugg

Committer: mlugg

## Message

```
Eliminate switch_cond[_ref] ZIR tags

This finishes the process of consolidating switch expressions in ZIR
into as simple and compact a representation as is possible. There are
now just two ZIR tags dedicated to switch expressions: switch_block and
switch_block_ref, with the latter being for an operand passed by
reference.

```

## Parents

- [39510cc7d1f6035e16aaa4f97991abbaddef463c](https://git.cafe/gitcafe/zig/commit/39510cc7d1f6035e16aaa4f97991abbaddef463c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/85e94fed1e058720460560823ac09d7b64e49b97?format=markdown)
