[all-commits] [llvm/llvm-project] 8122bb: [SLP]Fix a check for non-schedulable instructions

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Mar 25 04:36:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8122bb9dbe39a1dde77eb4aad76bf1c0e70b2d89
      https://github.com/llvm/llvm-project/commit/8122bb9dbe39a1dde77eb4aad76bf1c0e70b2d89
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/non-schedulable-instructions-become-schedulable.ll

  Log Message:
  -----------
  [SLP]Fix a check for non-schedulable instructions

Need to fix a check for non-schedulable instructions in
getLastInstructionInBundle function, because this check may not work
correctly during the codegen. Instead, need to check that actually these
instructions were never scheduled, since the scheduling analysis always
performed before the codegen and is stable.

Fixes #132841



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