From 6f7840d589cd9abce1b8eb5be87288ba3d5ffc00 Mon Sep 17 00:00:00 2001 From: Matthew Lugg Date: Tue, 17 Mar 2026 09:22:04 +0000 Subject: [PATCH] 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. -- 2.54.0