[all-commits] [llvm/llvm-project] 08c594: [VPlan] Fix header phi VPInstruction verification....

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Jul 31 08:09:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08c5944222175e2530b1bd51c07c99fb08a24675
      https://github.com/llvm/llvm-project/commit/08c5944222175e2530b1bd51c07c99fb08a24675
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-07-31 (Thu, 31 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
    M llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp

  Log Message:
  -----------
  [VPlan] Fix header phi VPInstruction verification. NFC (#151472)

Noticed this when checking the invariant that all phis in the header
block must be header phis. I think there's a missing set of parentheses
here, since otherwise it only cast<VPInstruction> when RecipeI isn't a
VPInstruction.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list