[llvm] [VPlan] Verify scalar types in VPlanVerifier. NFCI (PR #122679)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 20:32:35 PST 2025


================
@@ -71,15 +74,17 @@ Type *VPTypeAnalysis::inferScalarTypeForRecipe(const VPInstruction *R) {
   case VPInstruction::FirstOrderRecurrenceSplice:
   case VPInstruction::Not:
   case VPInstruction::ResumePhi:
+  case VPInstruction::CalculateTripCountMinusVF:
+  case VPInstruction::CanonicalIVIncrementForPart:
+  case VPInstruction::AnyOf:
+  case VPInstruction::LogicalAnd:
----------------
lukel97 wrote:

It doesn't look like there is, I think I changed in this when trying to hunt down the cause of the other assertions. I'll change it back and add an assert that it's operand is also a bool

https://github.com/llvm/llvm-project/pull/122679


More information about the llvm-commits mailing list