Files
clang-p2996/llvm/lib/Analysis/TargetLibraryInfo.cpp
Alex MacLean e318613418 [NFC][TLI] Move VecFuncs to statics to reduce stack usage (#86829)
`TargetLibraryInfoImpl::addVectorizableFunctionsFromVecLib` has a lot of
data in local stack arrays, which MSVC keeps on the stack even in
release builds. To reduce stack usage, the data arrays (which are
const), are moved outside the function as statics. This drops the method
stack usage to be negligible.
2024-03-27 16:49:59 -07:00

52 KiB