[all-commits] [llvm/llvm-project] 67ca5d: [polly] Replace SmallSet with SmallPtrSet (NFC) (#...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Tue Aug 19 09:09:33 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67ca5dad16e9271e62987f7c563b109a07dc8788
https://github.com/llvm/llvm-project/commit/67ca5dad16e9271e62987f7c563b109a07dc8788
Author: Kazu Hirata <kazu at google.com>
Date: 2025-08-19 (Tue, 19 Aug 2025)
Changed paths:
M polly/lib/Analysis/ScopBuilder.cpp
Log Message:
-----------
[polly] Replace SmallSet with SmallPtrSet (NFC) (#154367)
This patch replaces SmallSet<T *, N> with SmallPtrSet<T *, N>. Note
that SmallSet.h "redirects" SmallSet to SmallPtrSet for pointer
element types:
template <typename PointeeType, unsigned N>
class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N>
{};
We only have 10 instances that rely on this "redirection". Since the
redirection doesn't improve readability, this patch replaces SmallSet
with SmallPtrSet for pointer element types.
I'm planning to remove the redirection eventually.
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