Skip to content

Commit b89f32d

Browse files
committed
use llvm 3.6 commandline arguments to disable vectorization
1 parent 5aeb793 commit b89f32d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/shared.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ def llvm_opt(filename, opts, out=None):
14171417
#opts += ['-debug-pass=Arguments']
14181418
if get_clang_version() >= '3.4':
14191419
if not Settings.SIMD:
1420-
opts += ['-disable-vectorize']
1420+
opts += ['-disable-loop-vectorization', '-disable-slp-vectorization', '-vectorize-loops=false', '-vectorize-slp=false', '-vectorize-slp-aggressive=false']
14211421
else:
14221422
opts += ['-bb-vectorize-vector-bits=128', '-force-vector-width=4']
14231423

0 commit comments

Comments
 (0)