authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-03-17 09:22:04+00:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-03-18 01:02:29+01:00
log6f7840d589cd9abce1b8eb5be87288ba3d5ffc00
tree75fbbf3d77bd237c319aa87ed0186a463202b9ab
parent032319c94257e650abc7a4743298154c218dba89

llvm: disable loop vectorization for now

https://github.com/llvm/llvm-project/issues/186922 is pretty serious for us, because it is causing the Zig compiler itself to get miscompiled in many common configurations. I don't feel comfortable trying to work around this by disabling certain CPU features, because that seems incredibly brittle. I think it's probably best we disable loop vectorization entirely until we upgrade to a version of LLVM where this bug is fixed. This will pessimise codegen in some cases, which is unfortunate, but that's preferable to miscompilations.

0 files changed, 0 insertions(+), 0 deletions(-)