[all-commits] [llvm/llvm-project] 57f2a2: [ADT] Inline PackedVectorBase into PackedVector (N...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Mon Sep 29 07:54:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 57f2a2ef33e03fd3e15b0104d56c0db6c91657a9
https://github.com/llvm/llvm-project/commit/57f2a2ef33e03fd3e15b0104d56c0db6c91657a9
Author: Kazu Hirata <kazu at google.com>
Date: 2025-09-29 (Mon, 29 Sep 2025)
Changed paths:
M llvm/include/llvm/ADT/PackedVector.h
Log Message:
-----------
[ADT] Inline PackedVectorBase into PackedVector (NFC) (#161122)
This patch "inlines" PackedVectorBase into its sole user PackedVector.
The two variants of PackedVectorBase are dispatched with "if
constexpr". getValue and setValue are now non-static methods of
PackedVector.
We could further simplify getValue and setValue by storing signed
integers as two's complement, but that's a change for another day.
This patch focuses on the code organization, like removing the
template trick and inheritance and making the two methods non-static.
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