# Fix ir_analyze_instruction_atomic_rmw \(\#1351\) · gitcafe/zig

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

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

Visibility: public

Requested revision: d927f347de1f5a19545fc235f8779c2326409543

Requested commit: d927f347de1f5a19545fc235f8779c2326409543

Commit: d927f347de1f5a19545fc235f8779c2326409543

Tree: 68347916c61b94562dba740cf4ac0fe27a358d4d

Author: Wink Saville

Committer: Andrew Kelley

## Message

```
Fix ir_analyze_instruction_atomic_rmw (#1351)

There were two tests of type_is_valid(casted_ptr->value.type) change the
second one to type_is_valie(casted_operand->value.type).
```

## Parents

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

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