From 7ceb5eea73565ced4687c5b2c04859dbed9f2ac2 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 6 Jan 2014 11:37:10 -0800 Subject: disable vectorization which llvm 3.4 has on by default --- tools/shared.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/shared.py b/tools/shared.py index bd0626dc..90618a97 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -337,7 +337,7 @@ def find_temp_directory(): # we re-check sanity when the settings are changed) # We also re-check sanity and clear the cache when the version changes -EMSCRIPTEN_VERSION = '1.8.3' +EMSCRIPTEN_VERSION = '1.8.4' def generate_sanity(): return EMSCRIPTEN_VERSION + '|' + get_llvm_target() + '|' + LLVM_ROOT @@ -1163,6 +1163,7 @@ class Building: if type(opts) is int: opts = Building.pick_llvm_opts(opts) #opts += ['-debug-pass=Arguments'] + opts += ['-disable-loop-vectorization', '-disable-slp-vectorization'] logging.debug('emcc: LLVM opts: ' + str(opts)) target = out or (filename + '.opt.bc') output = Popen([LLVM_OPT, filename] + opts + ['-o', target], stdout=PIPE).communicate()[0] -- cgit v1.2.3-18-g5258