We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f6b2f commit d5d2bc3Copy full SHA for d5d2bc3
visa/RegAlloc.cpp
@@ -385,22 +385,6 @@ void PointsToAnalysis::doPointsToAnalysis(FlowGraph& fg)
385
}
386
387
388
-#ifndef NDEBUG
389
- for (unsigned i = 0; i < numAddrs; i++)
390
- {
391
- REGVAR_VECTOR& vec = pointsToSets[addrPointsToSetIndex[i]];
392
- unsigned indirectVarSize = 0;
393
- for (REGVAR_VECTOR::iterator it = vec.begin();
394
- it != vec.end();
395
- it++)
396
397
- G4_RegVar* cur = (*it);
398
- indirectVarSize += cur->getDeclare()->getByteSize();
399
- }
400
- assert((indirectVarSize < (unsigned)getGRFSize()* fg.getKernel()->getNumRegTotal()) && "indirected variables' size is larger than GRF file size");
401
402
-#endif
403
-
404
#ifdef DEBUG_VERBOSE_ON
405
for (unsigned int i = 0; i < numBBs; i++)
406
{
0 commit comments