[all-commits] [llvm/llvm-project] da421f: [SLP] NFC. Make InstructionsState more constant. (...

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Tue Dec 10 07:28:36 PST 2024


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

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

  Log Message:
  -----------
  [SLP] NFC. Make InstructionsState more constant. (#118609)

Add getMainOp and getAltOp.
Use `InstructionsState &` instead of `const InstructionsState &`.
Use `!S.isAltShuffle()` instead of `S.MainOp == S.AltOp`.



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