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

Unified Diff: src/IceRegAlloc.cpp

Issue 1271923002: Subzero: Slight improvement to phi lowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a TODO Created 5 years, 4 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 | « src/IceLiveness.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceRegAlloc.cpp
diff --git a/src/IceRegAlloc.cpp b/src/IceRegAlloc.cpp
index fad3d01795dc69c5961a82433514efbf25cdc1d7..c651ae21a07457c7ee969b9295d2b0ede05487dd 100644
--- a/src/IceRegAlloc.cpp
+++ b/src/IceRegAlloc.cpp
@@ -107,10 +107,6 @@ void LinearScan::initForGlobal() {
// it was never referenced.
if (Var->getLiveRange().isEmpty())
continue;
- // Post phi lowering register allocation is only concerned with variables
- // that are infinite-weight or pre-colored.
- if (Kind == RAK_Phi && !Var->getWeight().isInf() && !Var->hasReg())
- continue;
Var->untrimLiveRange();
Unhandled.push_back(Var);
if (Var->hasReg()) {
« no previous file with comments | « src/IceLiveness.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698