[all-commits] [llvm/llvm-project] 6b22e3: [SLP] NFC. Remove the useless check for alternate ...

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Thu Nov 21 18:40:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b22e39f2615b6391e097500a70482da4b3ef63b
      https://github.com/llvm/llvm-project/commit/6b22e39f2615b6391e097500a70482da4b3ef63b
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2024-11-22 (Fri, 22 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] NFC. Remove the useless check for alternate instruction. (#117116)

Only BinaryOperator and CastInst support alternate instruction. It
always returns false for TreeEntry::isAltShuffle if an instruction is
ExtractElementInst, ExtractValueInst, LoadInst, StoreInst or
InsertElementInst.



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