Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6f8f590

Browse files
pratikasharsys_zuul
authored and
sys_zuul
committedMay 4, 2020
Fix an assertion
Change-Id: I5429617156a2253bd34855481e2b70e514bbeae0
1 parent 0afbb19 commit 6f8f590

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎visa/GraphColor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6114,8 +6114,7 @@ bool GraphColor::assignColors(ColorHeuristic colorHeuristicGRF, bool doBankConfl
61146114
// Verify if all LRs have either an allocation or are spilled
61156115
for (auto lr : colorOrder)
61166116
{
6117-
// ToDo: apply to more pseudo dcls?
6118-
if (!kernel.fg.isPseudoVCADcl(lr->getDcl()) && !kernel.fg.isPseudoVCEDcl(lr->getDcl()))
6117+
if (!kernel.fg.isPseudoDcl(lr->getDcl()))
61196118
{
61206119
MUST_BE_TRUE(lr->isSpilled() || lr->getPhyReg() || lr->getDcl()->isSpilled(), "Range without allocation and not spilled");
61216120
}

0 commit comments

Comments
 (0)
Please sign in to comment.