[llvm-branch-commits] [llvm] release/21.x: [Support][BLAKE3] Restore static on blake3_hash4_neon (#149046) (PR #149126)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jul 16 08:56:58 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-support
Author: None (llvmbot)
<details>
<summary>Changes</summary>
Backport 1754a7d5733d5305e4ec25ef0945b39d6882bb28
Requested by: @<!-- -->nikic
---
Full diff: https://github.com/llvm/llvm-project/pull/149126.diff
1 Files Affected:
- (modified) llvm/lib/Support/BLAKE3/blake3_neon.c (+5-4)
``````````diff
diff --git a/llvm/lib/Support/BLAKE3/blake3_neon.c b/llvm/lib/Support/BLAKE3/blake3_neon.c
index 9629e10836864..ee36721f87573 100644
--- a/llvm/lib/Support/BLAKE3/blake3_neon.c
+++ b/llvm/lib/Support/BLAKE3/blake3_neon.c
@@ -245,10 +245,11 @@ INLINE void load_counters4(uint64_t counter, bool increment_counter,
counter_high(counter + (mask & 2)), counter_high(counter + (mask & 3)));
}
-void blake3_hash4_neon(const uint8_t *const *inputs, size_t blocks,
- const uint32_t key[8], uint64_t counter,
- bool increment_counter, uint8_t flags,
- uint8_t flags_start, uint8_t flags_end, uint8_t *out) {
+static void blake3_hash4_neon(const uint8_t *const *inputs, size_t blocks,
+ const uint32_t key[8], uint64_t counter,
+ bool increment_counter, uint8_t flags,
+ uint8_t flags_start, uint8_t flags_end,
+ uint8_t *out) {
uint32x4_t h_vecs[8] = {
set1_128(key[0]), set1_128(key[1]), set1_128(key[2]), set1_128(key[3]),
set1_128(key[4]), set1_128(key[5]), set1_128(key[6]), set1_128(key[7]),
``````````
</details>
https://github.com/llvm/llvm-project/pull/149126
More information about the llvm-branch-commits
mailing list