We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc81801 commit 2a8344eCopy full SHA for 2a8344e
llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
@@ -118,10 +118,8 @@ static bool isHeaderVPBB(VPBasicBlock *VPBB) {
118
return VPBB->getParent() && VPBB->getParent()->getEntry() == VPBB;
119
}
120
121
-// Create a new empty VPBasicBlock for an incoming BasicBlock in the region
122
-// corresponding to the containing loop or retrieve an existing one if it was
123
-// already created. If no region exists yet for the loop containing \p BB, a new
124
-// one is created.
+// Create a new empty VPBasicBlock for an incoming BasicBlock or retrieve an
+// existing one if it was already created.
125
VPBasicBlock *PlainCFGBuilder::getOrCreateVPBB(BasicBlock *BB) {
126
if (auto *VPBB = BB2VPBB.lookup(BB)) {
127
// Retrieve existing VPBB.
0 commit comments