# revert one part of ir get_elem_ptr analysis · gitcafe/zig

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

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

Visibility: public

Requested revision: 8f336b397010206d282aec9ce45b47f3b0a5a720

Requested commit: 8f336b397010206d282aec9ce45b47f3b0a5a720

Commit: 8f336b397010206d282aec9ce45b47f3b0a5a720

Tree: 38eea9a1421a9452ba60e2d3ca83ffe5ae2ddaca

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
revert one part of ir get_elem_ptr analysis

this reverts one part of 4c3bfeca. it solves some behavior regressions
but introduces new ones. This change was incorrect to make however,
and this commit takes the code in a better direction.

```

## Parents

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

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