================ @@ -0,0 +1,47 @@ +//===- SLPTree.h - SLP vectorization graph (BoUpSLP) ----------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// Internal header for the SLP vectorization graph. The BoUpSLP class and its +// nested types are added here in a follow-up change; this change seeds the +// header with the small helpers BoUpSLP depends on. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIB_TRANSFORMS_VECTORIZE_SLPVECTORIZER_SLPTREE_H +#define LLVM_LIB_TRANSFORMS_VECTORIZE_SLPVECTORIZER_SLPTREE_H + +#include "llvm/IR/ValueHandle.h" + +namespace llvm::slpvectorizer { + +/// If the ScheduleRegionSizeBudget is exhausted, we allow small scheduling +/// regions to be handled. +static const int MinScheduleRegionSize = 16; ---------------- alexey-bataev wrote:
```suggestion static constexpr int MinScheduleRegionSize = 16; ``` https://github.com/llvm/llvm-project/pull/222545 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
