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

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Fri Nov 22 02:54:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55e9afab6e5fc2fd2d456567657cfdf08920bb65
      https://github.com/llvm/llvm-project/commit/55e9afab6e5fc2fd2d456567657cfdf08920bb65
  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. (#117293)

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