aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-07 15:51:55 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-07 15:51:55 -0800
commit3bb84257eac6bcf74e80dab5559fdc436773ccd6 (patch)
tree979379065fa9513de088a68ba36861d4b663759e /tools/shared.py
parent0b3416a1dcd808fb71043a9f400f3ef2aa636abc (diff)
update other.test_simd test for llvm 3.3 and 3.4
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 4ab476d3..eac4b658 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -1171,7 +1171,7 @@ class Building:
if type(opts) is int:
opts = Building.pick_llvm_opts(opts)
#opts += ['-debug-pass=Arguments']
- if get_clang_version() == '3.4':
+ if get_clang_version() == '3.4' and not Settings.SIMD:
opts += ['-disable-loop-vectorization', '-disable-slp-vectorization'] # llvm 3.4 has these on by default
logging.debug('emcc: LLVM opts: ' + str(opts))
target = out or (filename + '.opt.bc')