# llvm: fix lowering of non-byte-aligned field pointers · gitcafe/zig

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

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

Visibility: public

Requested revision: f9192adaba0eb344ed12aad9c675cd73b740d2a2

Requested commit: f9192adaba0eb344ed12aad9c675cd73b740d2a2

Commit: f9192adaba0eb344ed12aad9c675cd73b740d2a2

Tree: f06afc534fa97ca50c1e8d56189d5697d160b095

Author: Jacob Young

Committer: Andrew Kelley

## Message

```
llvm: fix lowering of non-byte-aligned field pointers

 * When a field starts at some bit offset within a byte you need to load
   starting from that byte and shift, not starting from the next byte,
   so a rounded-down divide is required here, not a rounded-up one.
 * Remove paragraph from doc that no longer relates to anything.

Closes #12363

```

## Parents

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

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