Thanks to visit codestin.com Credit goes to github.com
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 ddfdeef commit 1284bc6Copy full SHA for 1284bc6
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -129,6 +129,8 @@ class VPBlockBase {
129
void replacePredecessor(VPBlockBase *Old, VPBlockBase *New) {
130
auto I = find(Predecessors, Old);
131
assert(I != Predecessors.end());
132
+ assert(Old->getParent() == New->getParent() &&
133
+ "replaced predecessor must have the same parent");
134
*I = New;
135
}
136
0 commit comments