# Sema: more conservative elem_ptr_load implementation · gitcafe/zig

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

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

Visibility: public

Requested revision: 4fef90fa92094a47b2258333a522bf12bb736afe

Requested commit: 4fef90fa92094a47b2258333a522bf12bb736afe

Commit: 4fef90fa92094a47b2258333a522bf12bb736afe

Tree: 1b5d308393ac41404b56232c8a1122e666c07717

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: more conservative elem_ptr_load implementation

like field_ptr_load, this now does byval operations when the lhs is
comptime-known.

```

## Parents

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

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