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 df6894a commit 927a66dCopy full SHA for 927a66d
llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
@@ -185,6 +185,16 @@ bool VPlanVerifier::verifyVPBasicBlock(const VPBasicBlock *VPBB) {
185
RecipeNumbering[&R] = Cnt++;
186
187
for (const VPRecipeBase &R : *VPBB) {
188
+ if (isa<VPIRInstruction>(&R) && !isa<VPIRBasicBlock>(VPBB)) {
189
+ errs() << "VPIRInstructions ";
190
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
191
+ R.dump();
192
+ errs() << " ";
193
+#endif
194
+ errs() << "not in a VPIRBasicBlock!\n";
195
+ return false;
196
+ }
197
+
198
for (const VPValue *V : R.definedValues()) {
199
for (const VPUser *U : V->users()) {
200
auto *UI = dyn_cast<VPRecipeBase>(U);
0 commit comments