[all-commits] [llvm/llvm-project] b7b183: [SLP][NFC]Improve perf of BoUpSLP::buildExternalUs...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Apr 15 11:22:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7b183371b54a2c4b5d2a39c594d3967a7384cb8
      https://github.com/llvm/llvm-project/commit/b7b183371b54a2c4b5d2a39c594d3967a7384cb8
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

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

  Log Message:
  -----------
  [SLP][NFC]Improve perf of BoUpSLP::buildExternalUses function, NFC.

Perform required operations, only when the result is required + check if
value was not inserted already into the list of the externally used
scalars and early exit, if it was.



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