[all-commits] [llvm/llvm-project] af1dbb: [SandboxIR] Fix notifyEraseInstr to skip scheduled...

Anshil Gandhi via All-commits all-commits at lists.llvm.org
Wed Jul 29 19:07:21 PDT 2026


  Branch: refs/heads/users/gandhi56/sandbox-vectorizer/scheduler-fix
  Home:   https://github.com/llvm/llvm-project
  Commit: af1dbbb65f63ce64f86625d979a3723879109d29
      https://github.com/llvm/llvm-project/commit/af1dbbb65f63ce64f86625d979a3723879109d29
  Author: Anshil Gandhi <gandhi21299 at gmail.com>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
    M llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp

  Log Message:
  -----------
  [SandboxIR] Fix notifyEraseInstr to skip scheduled neighbors

Guard both loops with !PredN->scheduled() / !SuccN->scheduled() so
scheduled neighbors are left untouched, and add a unit test that erases
a node with one scheduled and one unscheduled predecessor to cover the
fix.



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