[llvm] [Support][BLAKE3] Prefix blake3_xof_many_avx512 (PR #148607)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 03:44:05 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-support

Author: Nikita Popov (nikic)

<details>
<summary>Changes</summary>

This symbol was introduced in #<!-- -->147948, but not prefixed, resulting in conflicts if libblake3 and LLVM are both linked statically into the same binary.

---
Full diff: https://github.com/llvm/llvm-project/pull/148607.diff


1 Files Affected:

- (modified) llvm/lib/Support/BLAKE3/llvm_blake3_prefix.h (+2) 


``````````diff
diff --git a/llvm/lib/Support/BLAKE3/llvm_blake3_prefix.h b/llvm/lib/Support/BLAKE3/llvm_blake3_prefix.h
index 3cee3691e4cf7..d5be360815add 100644
--- a/llvm/lib/Support/BLAKE3/llvm_blake3_prefix.h
+++ b/llvm/lib/Support/BLAKE3/llvm_blake3_prefix.h
@@ -34,6 +34,8 @@
 #define _blake3_compress_in_place_avx512 _llvm_blake3_compress_in_place_avx512
 #define blake3_compress_xof_avx512 llvm_blake3_compress_xof_avx512
 #define _blake3_compress_xof_avx512 _llvm_blake3_compress_xof_avx512
+#define blake3_xof_many_avx512 llvm_blake3_xof_many_avx512
+#define _blake3_xof_many_avx512 _llvm_blake3_xof_many_avx512
 #define blake3_hash_many_avx512 llvm_blake3_hash_many_avx512
 #define _blake3_hash_many_avx512 _llvm_blake3_hash_many_avx512
 #define blake3_hash_many_neon llvm_blake3_hash_many_neon

``````````

</details>


https://github.com/llvm/llvm-project/pull/148607


More information about the llvm-commits mailing list