[all-commits] [llvm/llvm-project] 4aca20: [SLP]Pre-cache the last instruction for all entrie...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Apr 16 11:49:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4aca20c8b6dcf86696db03d860e635112601a7f9
      https://github.com/llvm/llvm-project/commit/4aca20c8b6dcf86696db03d860e635112601a7f9
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/entry-no-bundle-but-extra-use-on-vec.ll

  Log Message:
  -----------
  [SLP]Pre-cache the last instruction for all entries before vectorization

Need to pre-cache last instruction to avoid unexpected changes in the
last instruction detection during the vectorization, caused by adding
the new vector instructions, which add new uses and may affect the
analysis.



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