[all-commits] [llvm/llvm-project] d46a69: [PredicateInfo] Use BumpPtrAllocator for predicate...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Jun 26 00:05:03 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d46a69cab4e371a6dad38db637dde0c1d245f0ea
https://github.com/llvm/llvm-project/commit/d46a69cab4e371a6dad38db637dde0c1d245f0ea
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M llvm/include/llvm/Transforms/Utils/PredicateInfo.h
M llvm/lib/Transforms/Scalar/NewGVN.cpp
M llvm/lib/Transforms/Utils/PredicateInfo.cpp
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
Log Message:
-----------
[PredicateInfo] Use BumpPtrAllocator for predicates (NFC) (#145692)
Currently predicates are allocated on the heap and tracked with an
intrusive list. Use a bump pointer allocator instead, which is more
efficient. The list is no longer needed, as we don't have to track
predicates for freeing.
The bump pointer allocator is provided as a parameter for PredicateInfo
to allow reusing the same allocator for all functions during IPSCCP.
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