[all-commits] [llvm/llvm-project] c50370: [SLP] NFC. Use InstructionsState::valid if users j...

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Fri Jan 3 08:45:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c50370c67afddf557ba30d58143b30ffb7203935
      https://github.com/llvm/llvm-project/commit/c50370c67afddf557ba30d58143b30ffb7203935
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2025-01-04 (Sat, 04 Jan 2025)

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

  Log Message:
  -----------
  [SLP] NFC. Use InstructionsState::valid if users just want to know whether VL has same opcode. (#120217)

Add assert for InstructionsState::getOpcode.
Use InstructionsState::getOpcode only when necessary.



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