# codegen: introduce toCanonicalReg to clean up x86-specific logic · gitcafe/zig

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

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

Visibility: public

Requested revision: 02d09d13281a10dbab0d80d07935712b1fc50756

Requested commit: 02d09d13281a10dbab0d80d07935712b1fc50756

Commit: 02d09d13281a10dbab0d80d07935712b1fc50756

Tree: 07b44df54da2f66b38b4c1c363c2471017b3e3c0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
codegen: introduce toCanonicalReg to clean up x86-specific logic

```

## Parents

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

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