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 7c61213 commit 7588636Copy full SHA for 7588636
llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -858,7 +858,7 @@ VPlan::VPlan(Loop *L) {
858
ScalarHeader = createVPIRBasicBlock(L->getHeader());
859
860
SmallVector<BasicBlock *> IRExitBlocks;
861
- L->getExitBlocks(IRExitBlocks);
+ L->getUniqueExitBlocks(IRExitBlocks);
862
for (BasicBlock *EB : IRExitBlocks)
863
ExitBlocks.push_back(createVPIRBasicBlock(EB));
864
}
0 commit comments