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

Unified Diff: src/IceTargetLoweringX86BaseImpl.h

Issue 2185193002: Enable Local CSE by default (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Delete extra space Created 4 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
Index: src/IceTargetLoweringX86BaseImpl.h
diff --git a/src/IceTargetLoweringX86BaseImpl.h b/src/IceTargetLoweringX86BaseImpl.h
index 2acd3312d9b9b74c6a30853cc7cabcab2d2ff59d..10031a37612686910773d15b287fdbcbf0603651 100644
--- a/src/IceTargetLoweringX86BaseImpl.h
+++ b/src/IceTargetLoweringX86BaseImpl.h
@@ -455,7 +455,7 @@ template <typename TraitsType> void TargetX86Base<TraitsType>::translateO2() {
Func->dump("After LICM");
}
- if (getFlags().getEnableExperimental()) {
+ if (getFlags().getLocalCSE() || getFlags().getLocalCSENoSSA()) {
Func->localCSE();
Func->dump("After Local CSE");
}

Powered by Google App Engine
This is Rietveld 408576698