Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Unified Diff: build/common.gypi

Issue 393193003: Disable clang's SLP vectorizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index fb53e9264fb6062ca559700f1a3ab9a21ea5aca0..451e4bdf480aec33415938fba9bbefd714254f76 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3903,6 +3903,10 @@
# code generated by flex (used in angle) contains that keyword.
# http://crbug.com/255186
'-Wno-deprecated-register',
+
+ # TODO(thakis): Remove once http://llvm.org/PR20354 is fixed
+ # and the fix is in chromium.
+ '-fno-slp-vectorize',
],
'cflags!': [
# Clang doesn't seem to know know this flag.
@@ -4743,6 +4747,11 @@
# cfe-dev discussion.
'-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': [
['clang_xcode==0', {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698