[all-commits] [llvm/llvm-project] c8ae6e: [SLP]Schedule instructions with calculated deps af...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Sep 28 11:51:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8ae6e04d629ee08b74248155143698e0e31e6d5
      https://github.com/llvm/llvm-project/commit/c8ae6e04d629ee08b74248155143698e0e31e6d5
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/lcssa-phi-extract-scale.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/trimmed-subtree-schedule-operands.ll

  Log Message:
  -----------
  [SLP]Schedule instructions with calculated deps after trimming

Cancelling the bundles of the trimmed nodes clears all the dependencies
in the scheduling region, but they are recalculated only for the
remaining bundles, the trimmed scalars and their users. The
instructions, whose dependencies were calculated earlier (e.g. for the
bundles, failed to be scheduled), are not scheduled anymore and are
moved above all the scheduled instructions, breaking the original order.
Recalculate the dependencies for all such instructions.

Fixes the regression, reported in
https://github.com/llvm/llvm-project/pull/226268#issuecomment-5872192154

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/227083



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