commit 17e68c4a11ee44dbaf32f5d17abc30aa107a0a2d (tree)
parent e08a4ea62d9814e6c0125ff467f67626f3a22e4f
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Sat, 6 Jan 2018 00:15:37 -0500
disable NewGVN
closes #673
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp
@@ -126,7 +126,8 @@ bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machine_ref, LLVMM
PMBuilder->SLPVectorize = !is_debug;
PMBuilder->LoopVectorize = !is_debug;
PMBuilder->RerollLoops = !is_debug;
- PMBuilder->NewGVN = !is_debug;
+ // Leaving NewGVN as default (off) because when on it caused issue #673
+ //PMBuilder->NewGVN = !is_debug;
PMBuilder->DisableGVNLoadPRE = is_debug;
PMBuilder->VerifyInput = assertions_on;
PMBuilder->VerifyOutput = assertions_on;