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 f3b28a8 commit d564b83Copy full SHA for d564b83
IGC/Compiler/CISACodeGen/layout.cpp
@@ -571,7 +571,7 @@ void Layout::LayoutBlocks(Function& func, LoopInfo& LI)
571
572
// if function has a single exit, then the last block must be an exit
573
// comment this out due to infinite loop example in OCL
574
- // IGC_ASSERT(PDT.getRootNode()->getBlock() == 0x0 || PDT.getRootNode()->getBlock() == &(func.getBasicBlockList().back()));
+ // IGC_ASSERT(PDT.getRootNode()->getBlock() == 0x0 || PDT.getRootNode()->getBlock() == &(func.back()));
575
// fix the loop-exit pattern, put break-blocks into the loop
576
for (llvm::Function::iterator blkIter = func.begin(), blkEnd = func.end();
577
blkIter != blkEnd; ++blkIter)
0 commit comments