[all-commits] [llvm/llvm-project] c15c1e: [SLP]Do not account non-instructions for external ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Sep 14 12:41:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c15c1e5dd532346c7f7475c1f5b62784ebd6b392
      https://github.com/llvm/llvm-project/commit/c15c1e5dd532346c7f7475c1f5b62784ebd6b392
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/remark-masked-loads-consecutive-loads-same-ptr.ll

  Log Message:
  -----------
  [SLP]Do not account non-instructions for external use.

If the non-instruction gets vectorized, no need to account its extract
cost, it won't be removed and replaced by extractelement instruction.




More information about the All-commits mailing list