[llvm] [Support][BLAKE3] Restore static on blake3_hash4_neon (PR #149046)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 16 02:35:20 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-support
Author: Nikita Popov (nikic)
<details>
<summary>Changes</summary>
This was dropped in #<!-- -->147948 and causes symbol conflicts if libblake3 is also linked.
---
Full diff: https://github.com/llvm/llvm-project/pull/149046.diff
1 Files Affected:
- (modified) llvm/lib/Support/BLAKE3/blake3_neon.c (+1)
``````````diff
diff --git a/llvm/lib/Support/BLAKE3/blake3_neon.c b/llvm/lib/Support/BLAKE3/blake3_neon.c
index 9629e10836864..a8e723499792a 100644
--- a/llvm/lib/Support/BLAKE3/blake3_neon.c
+++ b/llvm/lib/Support/BLAKE3/blake3_neon.c
@@ -245,6 +245,7 @@ INLINE void load_counters4(uint64_t counter, bool increment_counter,
counter_high(counter + (mask & 2)), counter_high(counter + (mask & 3)));
}
+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,
``````````
</details>
https://github.com/llvm/llvm-project/pull/149046
More information about the llvm-commits
mailing list