[all-commits] [llvm/llvm-project] eb899d: [VPlan] Check for VInstruction in findCanonicalIVI...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue May 5 11:26:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb899dca28677ac2e72b0a85f04e9c9d04df7bbe
      https://github.com/llvm/llvm-project/commit/eb899dca28677ac2e72b0a85f04e9c9d04df7bbe
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
    M llvm/test/Transforms/LoopVectorize/X86/induction-step.ll

  Log Message:
  -----------
  [VPlan] Check for VInstruction in findCanonicalIVIncrement. (#195845)

There are cases where findCanonicalIVIncrement may discover a
non-VPInstruction add that matches the expected shape, but we expect a
VPInstruction. Add explicit check to fix crash.



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