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

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Tue Dec 10 18:09:44 PST 2024


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/fix-113880.ll

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

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