[all-commits] [llvm/llvm-project] 94fbe7: [SLP] NFC. Replace TreeEntry::setOperandsInOrder w...

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Thu Dec 5 20:03:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94fbe7e3ae7c0ce4e9a7d801e7700457a36f731d
      https://github.com/llvm/llvm-project/commit/94fbe7e3ae7c0ce4e9a7d801e7700457a36f731d
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2024-12-06 (Fri, 06 Dec 2024)

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

  Log Message:
  -----------
  [SLP] NFC. Replace TreeEntry::setOperandsInOrder with VLOperands. (#113880)

To reduce repeated code, TreeEntry::setOperandsInOrder will be replaced
by VLOperands.
Arg_size will be provided to make sure other operands will not be
reorderd when VL[0] is IntrinsicInst (because APO is a boolean value).
In addition, BoUpSLP::reorderInputsAccordingToOpcode will also be
removed since it is simple.



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