| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-06-25 | stage2 ARM: implement basic intCast and error union wrapping | joachimschmidt557 | |
| 2022-03-01 | LLVM: add extra padding to structs and tuples sometimes | Andrew Kelley | |
| * Sema: resolve type fully when emitting an alloc AIR instruction to avoid tripping assertion for checking struct field alignment. * LLVM backend: keep a reference to the LLVM target data alive during lowering so that we can ask LLVM what it thinks the ABI alignment and size of LLVM types are. We need this in order to lower tuples and structs so that we can put in extra padding bytes when Zig disagrees with LLVM about the size or alignment of something. * LLVM backend: make the LLVM struct type packed that contains the most aligned union field and the padding. This prevents the struct from being too big according to LLVM. In the future, we may want to consider instead emitting unions in a "flat" manner; putting the tag, most aligned union field, and padding all in the same struct field space. * LLVM backend: make structs with 2 or fewer fields return isByRef=false. This results in more efficient codegen. This required lowering of bitcast to sometimes store the struct into an alloca, ptrcast, and then load because LLVM does not allow bitcasting structs. * enable more passing behavior tests. | |||
| 2022-02-14 | stage2 AArch64: Enable behavior testing | joachimschmidt557 | |
| 2022-02-12 | move more behavior tests to the "passing" section | Andrew Kelley | |
| 2022-01-07 | lint: duplicate import (#10519) | Meghan | |
| 2021-06-21 | fix code broken from previous commit | Jacob G-W | |
| 2021-05-08 | Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen | Andrew Kelley | |
| Conflicts: * doc/langref.html.in * lib/std/enums.zig * lib/std/fmt.zig * lib/std/hash/auto_hash.zig * lib/std/math.zig * lib/std/mem.zig * lib/std/meta.zig * test/behavior/alignof.zig * test/behavior/bitcast.zig * test/behavior/bugs/1421.zig * test/behavior/cast.zig * test/behavior/ptrcast.zig * test/behavior/type_info.zig * test/behavior/vector.zig Master branch added `try` to a bunch of testing function calls, and some lines also had changed how to refer to the native architecture and other `@import("builtin")` stuff. | |||
| 2021-04-29 | move behavior tests from test/stage1/ to test/ | Andrew Kelley | |
| And fix test cases to make them pass. This is in preparation for starting to pass behavior tests with self-hosted. | |||
