[all-commits] [llvm/llvm-project] db7f01: [VPlan] Simplify block deletion in VPlan dtor (NFC...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun May 24 07:24:44 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp

  Log Message:
  -----------
  [VPlan] Simplify block deletion in VPlan dtor (NFC) (#199421)

Split deletion loop into 2 simpler loops: first replace all operands of
each recipe with a dummy value. Then delete blocks in second pass.

This avoids RAUW unnecessarily and also removes the need to handle
region values explicitly.



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