# Sema: additional check for one-possible-value types in analyzeLoad · gitcafe/zig

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

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

Visibility: public

Requested revision: a4ff94804cfcdee49fb9c70812c15ff7d2829ee5

Requested commit: a4ff94804cfcdee49fb9c70812c15ff7d2829ee5

Commit: a4ff94804cfcdee49fb9c70812c15ff7d2829ee5

Tree: 34b3ed6ff9b836a5160f74216da68d008f010042

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: additional check for one-possible-value types in analyzeLoad

This is needed because pointers to zero-bit types are not necessarily
comptime known, but when doing a load, only the element type having one
possible value is relevant.

```

## Parents

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

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