[all-commits] [llvm/llvm-project] 71ad5d: [SandboxIR] Fix pass pipeline parsing after aux ar...

Anshil Gandhi via All-commits all-commits at lists.llvm.org
Mon Jul 6 10:54:36 PDT 2026


  Branch: refs/heads/users/gandhi56/sandbox-vectorizer/topdown-vec
  Home:   https://github.com/llvm/llvm-project
  Commit: 71ad5da0634dd1165854cb4351fd8438a2712c37
      https://github.com/llvm/llvm-project/commit/71ad5da0634dd1165854cb4351fd8438a2712c37
  Author: Anshil Gandhi <Anshil.Gandhi at amd.com>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M llvm/include/llvm/SandboxIR/PassManager.h
    M llvm/unittests/SandboxIR/PassTest.cpp

  Log Message:
  -----------
  [SandboxIR] Fix pass pipeline parsing after aux arguments

After parsing a pass aux argument, resume scanning pass names instead of
args when the next token is a delimiter. This allows flat pipelines like
foo(aux),bar to be parsed correctly.

Co-authored-by: Cursor <cursoragent at cursor.com>


  Commit: 049aa3430cb7c2a7d85ace52383e5a67b878bb9d
      https://github.com/llvm/llvm-project/commit/049aa3430cb7c2a7d85ace52383e5a67b878bb9d
  Author: Anshil Gandhi <gandhi21299 at gmail.com>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.h
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/PassRegistry.def
    M llvm/test/Transforms/SandboxVectorizer/external_uses.ll
    M llvm/test/Transforms/SandboxVectorizer/pack.ll
    A llvm/test/Transforms/SandboxVectorizer/topdown_vec.ll

  Log Message:
  -----------
  [SBVec] Implement topDown/botUp vectorizers in unison

This patch introduces the `top-down-vec` pass to the Sandbox Vectorizer,
adding the ability to traverse use-def chains top-down to discover and
collect vectorization opportunities. Furthermore, this patch unifies
the two vectorizers into a single implementation to minimize code
duplication.

Co-authored-by: Cursor <cursoragent at cursor.com>


  Commit: c027602603bf2ea579f93b9bbba69796c01f01b1
      https://github.com/llvm/llvm-project/commit/c027602603bf2ea579f93b9bbba69796c01f01b1
  Author: Anshil Gandhi <gandhi21299 at gmail.com>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Legality.h
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.h
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Scheduler.h
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp

  Log Message:
  -----------
  [SandboxVec] Vectorize in the same direction as the scheduler direction


  Commit: d98cf0b0021757cbd13d5d9a5eb4261647d51923
      https://github.com/llvm/llvm-project/commit/d98cf0b0021757cbd13d5d9a5eb4261647d51923
  Author: Anshil Gandhi <Anshil.Gandhi at amd.com>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.h
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/PassRegistry.def
    M llvm/test/Transforms/SandboxVectorizer/external_uses.ll
    M llvm/test/Transforms/SandboxVectorizer/pack.ll
    M llvm/test/Transforms/SandboxVectorizer/topdown_vec.ll

  Log Message:
  -----------
  [SandboxVec] Use AuxArg to determine vectorizer direction


  Commit: 606b9163898630d97fdccabe0c607ed8d3ddf5d3
      https://github.com/llvm/llvm-project/commit/606b9163898630d97fdccabe0c607ed8d3ddf5d3
  Author: Anshil Gandhi <Anshil.Gandhi at amd.com>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/VecUtils.cpp
    M llvm/unittests/Transforms/Vectorize/SandboxVectorizer/VecUtilsTest.cpp

  Log Message:
  -----------
  [SandboxVec] Move user collection to VecUtils and add unit tests


  Commit: 4b62073f9fda73a80fd862b19fbbac19fa548c5d
      https://github.com/llvm/llvm-project/commit/4b62073f9fda73a80fd862b19fbbac19fa548c5d
  Author: Anshil Gandhi <Anshil.Gandhi at amd.com>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp
    M llvm/test/Transforms/SandboxVectorizer/topdown_vec.ll

  Log Message:
  -----------
  Handle legality results


Compare: https://github.com/llvm/llvm-project/compare/aa8930c3566f...4b62073f9fda

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