[all-commits] [llvm/llvm-project] 1e9a3f: [Support] Reformat SipHash.cpp to match libSupport.
Ahmed Bougacha via All-commits
all-commits at lists.llvm.org
Tue Jun 4 15:09:40 PDT 2024
Branch: refs/heads/users/ahmedbougacha/integrate-siphash-into-libsupport
Home: https://github.com/llvm/llvm-project
Commit: 1e9a3fde97d907c3cd6be33db91d1c18c7236ffb
https://github.com/llvm/llvm-project/commit/1e9a3fde97d907c3cd6be33db91d1c18c7236ffb
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
R llvm/lib/Support/README.md.SipHash
M llvm/lib/Support/SipHash.cpp
Log Message:
-----------
[Support] Reformat SipHash.cpp to match libSupport.
While there, give it our usual file header and an acknowledgement,
and remove the imported README.md.SipHash.
Commit: 3d4f7dcaf8e9c4ad666f84b4ba7c8c742c336896
https://github.com/llvm/llvm-project/commit/3d4f7dcaf8e9c4ad666f84b4ba7c8c742c336896
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Support/SipHash.cpp
Log Message:
-----------
[Support] Remove SipHash tracing support.
Commit: 6679d54b2d1b037c849aea3cf04507e5390adc49
https://github.com/llvm/llvm-project/commit/6679d54b2d1b037c849aea3cf04507e5390adc49
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/SipHash.cpp
Log Message:
-----------
[Support] Integrate SipHash.cpp into libSupport.
Start building it as part of the library, with some minor
tweaks compared to the reference implementation:
- templatize cROUNDS/dROUNDS, as well as 8B/16B result type
- replace assert with static_assert
- return the result directly, as uint64_t/uint128_t
- remove big-endian support
- use LLVM_FALLTHROUGH
The siphash function itself isn't used yet, and will be in a follow-up
commit.
Compare: https://github.com/llvm/llvm-project/compare/1d8561032aeb...6679d54b2d1b
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