[llvm] [VPlan] Fix OpType-mismatch in getFlagsFromIndDesc (PR #168560)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 09:10:16 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:
ok, can you assert that we are guaranteed to have an integer induction here? then that should be fine
https://github.com/llvm/llvm-project/pull/168560
More information about the llvm-commits
mailing list