[all-commits] [llvm/llvm-project] 5e67c4: [SLP]Fix PR90780: insert cast instruction for PHI ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu May 2 06:34:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e67c41a932256e047ae093ae4f7f5a53df1527d
      https://github.com/llvm/llvm-project/commit/5e67c41a932256e047ae093ae4f7f5a53df1527d
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/ext-after-phi-node.ll

  Log Message:
  -----------
  [SLP]Fix PR90780: insert cast instruction for PHI nodes after all phi nodes.

Need to check if the vectorized value is a PHINode before insert casting
instruction and insert it after all phis to generate the code correctly.



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