diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-01-06 02:59:17 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-01-06 02:59:17 -0500 |
| commit | 38658a597bc22697c2038c21bdec9f04c9973eb8 (patch) | |
| tree | 4f52ec6d34bf1380750fcdb37c99e8b5d05c1762 /src/zig_llvm.cpp | |
| parent | 2200c2de6f29845b2a41491fda663289fdc786d3 (diff) | |
| parent | dde7cc52d2f4780587b37604889c4568b8d79c62 (diff) | |
| download | zig-38658a597bc22697c2038c21bdec9f04c9973eb8.tar.gz zig-38658a597bc22697c2038c21bdec9f04c9973eb8.zip | |
Merge branch 'master' into llvm6
Diffstat (limited to 'src/zig_llvm.cpp')
| -rw-r--r-- | src/zig_llvm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp index 2a455c79d4..a33303a9ea 100644 --- 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; |
