mirror of
https://github.com/ziglang/zig.git
synced 2026-01-04 12:33:19 +00:00
Enable loop interleaving when unrolling is enabled
This mimics clang's default behavior.
This commit is contained in:
parent
ba967ae9a1
commit
0c520cd32d
@ -221,6 +221,7 @@ bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machine_ref, LLVMM
|
||||
PMBuilder->DisableUnrollLoops = is_debug;
|
||||
PMBuilder->SLPVectorize = !is_debug;
|
||||
PMBuilder->LoopVectorize = !is_debug;
|
||||
PMBuilder->LoopsInterleaved = !PMBuilder->DisableUnrollLoops;
|
||||
PMBuilder->RerollLoops = !is_debug;
|
||||
// Leaving NewGVN as default (off) because when on it caused issue #673
|
||||
//PMBuilder->NewGVN = !is_debug;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user