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

Side by Side Diff: src/IceCfg.cpp

Issue 380363002: Subzero: Fix a regalloc bug involving too-aggressive AllowRegisterOverlap. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Add PrecoloredUnhandled to the output 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/IceRegAlloc.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceCfg.cpp - Control flow graph implementation ---------===// 1 //===- subzero/src/IceCfg.cpp - Control flow graph implementation ---------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file implements the Cfg class, including constant pool 10 // This file implements the Cfg class, including constant pool
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 setCurrentNode(NULL); 338 setCurrentNode(NULL);
339 if (getContext()->isVerbose(IceV_Liveness)) { 339 if (getContext()->isVerbose(IceV_Liveness)) {
340 // Print summary info about variables 340 // Print summary info about variables
341 for (VarList::const_iterator I = Variables.begin(), E = Variables.end(); 341 for (VarList::const_iterator I = Variables.begin(), E = Variables.end();
342 I != E; ++I) { 342 I != E; ++I) {
343 Variable *Var = *I; 343 Variable *Var = *I;
344 Str << "//" 344 Str << "//"
345 << " multiblock=" << Var->isMultiblockLife() << " " 345 << " multiblock=" << Var->isMultiblockLife() << " "
346 << " weight=" << Var->getWeight() << " "; 346 << " weight=" << Var->getWeight() << " ";
347 Var->dump(this); 347 Var->dump(this);
348 if (Variable *Pref = Var->getPreferredRegister()) {
349 Str << " pref=";
350 Pref->dump(this);
351 if (Var->getRegisterOverlap())
352 Str << ",overlap";
353 Str << " ";
354 }
348 Str << " LIVE=" << Var->getLiveRange() << "\n"; 355 Str << " LIVE=" << Var->getLiveRange() << "\n";
349 } 356 }
350 } 357 }
351 // Print each basic block 358 // Print each basic block
352 for (NodeList::const_iterator I = Nodes.begin(), E = Nodes.end(); I != E; 359 for (NodeList::const_iterator I = Nodes.begin(), E = Nodes.end(); I != E;
353 ++I) { 360 ++I) {
354 (*I)->dump(this); 361 (*I)->dump(this);
355 } 362 }
356 if (getContext()->isVerbose(IceV_Instructions)) { 363 if (getContext()->isVerbose(IceV_Instructions)) {
357 Str << "}\n"; 364 Str << "}\n";
358 } 365 }
359 } 366 }
360 367
361 } // end of namespace Ice 368 } // end of namespace Ice
OLDNEW
« no previous file with comments | « no previous file | src/IceRegAlloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698