[all-commits] [llvm/llvm-project] 788c88: [SandboxVec][DependencyGraph] Fix dependency node ...

vporpo via All-commits all-commits at lists.llvm.org
Thu Feb 6 12:31:11 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 788c88e2f6bb028ebb53af52624b93a733d34a2b
      https://github.com/llvm/llvm-project/commit/788c88e2f6bb028ebb53af52624b93a733d34a2b
  Author: vporpo <vporpodas at google.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

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

  Log Message:
  -----------
  [SandboxVec][DependencyGraph] Fix dependency node iterators (#125616)

This patch fixes a bug in the dependency node iterators that would
incorrectly not skip nodes that are not in the current DAG. This
resulted in iterators returning nullptr when dereferenced.

The fix is to update the existing "skip" function to not only skip
non-instruction values but also to skip instructions not in the DAG.



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