[llvm] [VPlan] Fix OpType-mismatch in getFlagsFromIndDesc (PR #168560)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 08:38:21 PST 2025
================
@@ -90,7 +90,7 @@ inline VPIRFlags getFlagsFromIndDesc(const InductionDescriptor &ID) {
ID.getInductionBinOp()))
return VPIRFlags::WrapFlagsTy(OBO->hasNoUnsignedWrap(),
OBO->hasNoSignedWrap());
- return {};
+ return VPIRFlags::WrapFlagsTy(false, false);
----------------
fhahn wrote:
What kind of opcode are we hitting here that is not a `OverflowingBinaryOperator`, but still has wrap flags? Are there multiple ops in the chain, for which no induction bin op is set?
What about pointer inductions? Should they be handled here as well?
https://github.com/llvm/llvm-project/pull/168560
More information about the llvm-commits
mailing list