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-08-31 23:14:47+02:00
logaad04d8e5f70f71f0571c56b0a2b70d0a5de7f08
treeb1dfe71e8afba6d01edc6f241a7e58450a45f531
parent0a4a865644b6da11cfe99fdd794b80c08b656870
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...@@ -285,7 +285,7 @@ ZIG_EXTERN_C bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machi
285 PipelineTuningOptions pipeline_opts;285 PipelineTuningOptions pipeline_opts;
286 pipeline_opts.LoopUnrolling = !options->is_debug;286 pipeline_opts.LoopUnrolling = !options->is_debug;
287 pipeline_opts.SLPVectorization = !options->is_debug;287 pipeline_opts.SLPVectorization = !options->is_debug;
288 pipeline_opts.LoopVectorization = false; // https://github.com/llvm/llvm-project/issues/186922288 pipeline_opts.LoopVectorization = !options->is_debug;
289 pipeline_opts.LoopInterleaving = !options->is_debug;289 pipeline_opts.LoopInterleaving = !options->is_debug;
290 pipeline_opts.MergeFunctions = !options->is_debug;290 pipeline_opts.MergeFunctions = !options->is_debug;
291291