[all-commits] [llvm/llvm-project] ea130a: [Support/BLAKE3] Fix error when building llvm for ...
Daniil Kovalev via All-commits
all-commits at lists.llvm.org
Wed Aug 30 01:47:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea130a81d4c195b4beeebd21c7cfbfc91aa07ca8
https://github.com/llvm/llvm-project/commit/ea130a81d4c195b4beeebd21c7cfbfc91aa07ca8
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2023-08-30 (Wed, 30 Aug 2023)
Changed paths:
M llvm/lib/Support/BLAKE3/blake3_impl.h
Log Message:
-----------
[Support/BLAKE3] Fix error when building llvm for big endian AArch64 host
BLAKE3 implementation does not support using arm neon on big-endian hosts: see
blake3_neon.c. Setting `BLAKE3_USE_NEON` to 1 by default for all AArch64
hosts broke builds for big endian hosts. This patch fixes the behavior
by introducing an additional check against `__ARM_BIG_ENDIAN` before
setting `BLAKE3_USE_NEON`.
Differential Revision: https://reviews.llvm.org/D159156
More information about the All-commits
mailing list