0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

stage2: LLVM backend: fix const packed structs

When doing LLVM const bit shifting we must make sure the integer bit
sizes are wide enough or else LLVM gives us a poison result.
This commit is contained in:
Andrew Kelley 2021-12-27 16:59:26 -07:00
commit 886df772f0
5 changed files with 55 additions and 62 deletions