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 f18d8db commit 6ad47a9Copy full SHA for 6ad47a9
llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
@@ -198,7 +198,10 @@ bool VPlanVerifier::verifyVPBasicBlock(const VPBasicBlock *VPBB) {
198
}
199
for (const VPValue *V : R.definedValues()) {
200
// Verify that recipes' operands have matching types.
201
- TypeInfo.inferScalarType(V);
+ if (!TypeInfo.inferScalarType(V)) {
202
+ errs() << "Failed to infer scalar type!\n";
203
+ return false;
204
+ }
205
206
for (const VPUser *U : V->users()) {
207
auto *UI = dyn_cast<VPRecipeBase>(U);
0 commit comments