# x64: fix wrong regalloc with inst tracking in airCmp · gitcafe/zig

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

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

Visibility: public

Requested revision: 83744b92a1d1a923fb3faf3aca9d0f57b09cb97d

Requested commit: 83744b92a1d1a923fb3faf3aca9d0f57b09cb97d

Commit: 83744b92a1d1a923fb3faf3aca9d0f57b09cb97d

Tree: b5310b2971bd6bc1204b26fe4a590bc74bb1fed4

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
x64: fix wrong regalloc with inst tracking in airCmp

We return compare flags rather than a register which than wrongly
cheats the regalloc into thinking we carry the instruction in the
register which we do not.

```

## Parents

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

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