aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2022-10-15 03:31:17 -0400
committerAndrew Kelley <andrew@ziglang.org>2022-10-15 14:19:40 -0400
commitf9192adaba0eb344ed12aad9c675cd73b740d2a2 (patch)
treef06afc534fa97ca50c1e8d56189d5697d160b095 /src/stage1/codegen.cpp
parentc7f98332383d71a57699426027e82c435e91addc (diff)
downloadzig-f9192adaba0eb344ed12aad9c675cd73b740d2a2.tar.gz
zig-f9192adaba0eb344ed12aad9c675cd73b740d2a2.zip
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
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions