Cody Tapscott

Results 57 issues of Cody Tapscott

There's probably plenty of room to optimize these further in the future, but for the moment this gives ~4-5x improvement on x86-64, and ~10x on M1 AArch64 Macs. These extensions...

These updates were made by testing all supported arch-OS-ABI combinations against the `sizeof`/`_Alignof` reported by Clang and correcting any discrepancies. There's bound to be some incorrect entries in here where...

Follow-up to #12837. Wanted to separate this one out since it's a change to UX. The idea is to make it easier to track errors that flow through a catch...

### Zig Version 0.10.0-dev.4418+99c3578f6 ### Steps to Reproduce ```zig test "continue nested inline for loop in named block expr" { var a: u8 = 0; loop: inline for ([_]u8{ 1,...

bug
stage2

Packed memory has a well-defined layout that doesn't require actually using a BigInt to read from. Let's use it :-) Included changes: - Adds `readPackedInt`, `writePackedInt` and friends to `std.mem`...

Spun off from #13074 This is a crude pattern match for try-like `.cond_br` blocks emitted by Sema's safety checks. It looks for: ```zig %x = block(void, { cond_br(..., { br(%x,...

- [Sema] Changes array initialization to scan for stores the same way struct init does - [Sema/Value] Renames `compare` (and family) to `compareAll` (etc.), and fixes lots of places where...

### Zig Version 0.10.0-dev.4472+a4eb221b9 ### Steps to Reproduce Build Zig and save the LLVM IR: ```console $ /build/zig2 build -p stage3_debug -Dstrip=true -Denable-llvm=true --verbose-llvm-ir 2>llvm_ir.txt ``` If you examine `Autodocs.walkInstruction`...

bug
stage2

These are small helpers that re-order the fields of a `packed struct` to provide either: - `Stage1Layout(T)` - Layout compatibility with stage1, a temporary helper until users can re-define their...

### Zig Version 0.10.0-dev.4430+78778899 ### Steps to Reproduce ```zig const std = @import("std"); const expect = std.testing.expect; test "bitcast vector to integer and back" { var x = @splat(16, true);...

bug
stage2
backend-llvm
regression