Commit d50aa6a1 authored by thakis@chromium.org's avatar thakis@chromium.org

Disable clang's SLP vectorizer.

It currently generates invalid code, see
http://llvm.org/bugs/show_bug.cgi?id=20354

BUG=none

Review URL: https://codereview.chromium.org/393193003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284029 0039d316-1c4b-4281-b951-d872f2087c98
parent d7ce9153
...@@ -3902,6 +3902,10 @@ ...@@ -3902,6 +3902,10 @@
# code generated by flex (used in angle) contains that keyword. # code generated by flex (used in angle) contains that keyword.
# http://crbug.com/255186 # http://crbug.com/255186
'-Wno-deprecated-register', '-Wno-deprecated-register',
# TODO(thakis): Remove once http://llvm.org/PR20354 is fixed
# and the fix is in chromium.
'-fno-slp-vectorize',
], ],
'cflags!': [ 'cflags!': [
# Clang doesn't seem to know know this flag. # Clang doesn't seem to know know this flag.
...@@ -4742,6 +4746,11 @@ ...@@ -4742,6 +4746,11 @@
# cfe-dev discussion. # cfe-dev discussion.
'-Wno-selector-type-mismatch', '-Wno-selector-type-mismatch',
], ],
'OTHER_CFLAGS': [
# TODO(thakis): Remove once http://llvm.org/PR20354 is fixed
# and the fix is in chromium.
'-fno-slp-vectorize',
],
'conditions': [ 'conditions': [
['clang_xcode==0', { ['clang_xcode==0', {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment