authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-04 16:23:43+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-05 14:54:31+02:00
log4cb43a7870629ac6866c478611bd410ad70de90b
tree9dd951384ce8cf2245d2387fe804079992e4f600
parentc268dd2c5e6b277af82f48c72044df63634c1fa1
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Revert "llvm: disable loop vectorization for now"

This reverts commit 032319c94257e650abc7a4743298154c218dba89.

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

src/zig_llvm.cpp+1-1
......@@ -285,7 +285,7 @@ ZIG_EXTERN_C bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machi
285285 PipelineTuningOptions pipeline_opts;
286286 pipeline_opts.LoopUnrolling = !options->is_debug;
287287 pipeline_opts.SLPVectorization = !options->is_debug;
288 pipeline_opts.LoopVectorization = false; // https://github.com/llvm/llvm-project/issues/186922
288 pipeline_opts.LoopVectorization = !options->is_debug;
289289 pipeline_opts.LoopInterleaving = !options->is_debug;
290290 pipeline_opts.MergeFunctions = !options->is_debug;
291291