[all-commits] [llvm/llvm-project] 50af6a: [SLP]Fix emission of the masks in shuffles for und...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Apr 6 10:19:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50af6ab0ab55829f332d304794b8198fa73e94f7
      https://github.com/llvm/llvm-project/commit/50af6ab0ab55829f332d304794b8198fa73e94f7
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/crash_lencod.ll
    M llvm/test/Transforms/SLPVectorizer/X86/remark_extract_broadcast.ll

  Log Message:
  -----------
  [SLP]Fix emission of the masks in shuffles for undefs.

If the value is used in the expression, need to adjust the mask before
applying the mask. Plus, need to fix the analysis of the phi nodes for
reused scalars.




More information about the All-commits mailing list