[all-commits] [llvm/llvm-project] 2be72e: [SLP][NFC] Reduce compile time of isTreeTinyAndNot...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Apr 29 08:49:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2be72ed78188847a8d9e3065d02e2c60245b78d8
      https://github.com/llvm/llvm-project/commit/2be72ed78188847a8d9e3065d02e2c60245b78d8
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

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

  Log Message:
  -----------
  [SLP][NFC] Reduce compile time of isTreeTinyAndNotFullyVectorizable

Cache root entry and SLPCostThreshold queries once, group
!ForReduction-only checks under two blocks, extract a shared benign-node
predicate from the two duplicated lambdas, and skip HasSingleLoad and
allConstant work when results are dead.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/194895



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