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 41ce479 commit 55b13f1Copy full SHA for 55b13f1
llvm/lib/Transforms/Vectorize/VPlanUtils.h
@@ -90,6 +90,9 @@ inline VPIRFlags getFlagsFromIndDesc(const InductionDescriptor &ID) {
90
ID.getInductionBinOp()))
91
return VPIRFlags::WrapFlagsTy(OBO->hasNoUnsignedWrap(),
92
OBO->hasNoSignedWrap());
93
+
94
+ assert(ID.getKind() == InductionDescriptor::IK_IntInduction &&
95
+ "Expected int induction");
96
return VPIRFlags::WrapFlagsTy(false, false);
97
}
98
} // namespace vputils
0 commit comments