[llvm] [HashRecognize] Rename ByteOrderSwapped to IsBigEndian (NFC) (PR #206243)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 27 15:23:46 PDT 2026


artagnon wrote:

> But what do you mean by "the byte order is normally swapped on big-endian machines" ?

Thanks, reworded to "In order to avoid talking about bit-endianness versus byte-endianness, rename ByteOrderSwapped to IsBigEndian, which is algorithm-agnostic. In fact, CRC is a bitwise-algorithm, and hence the bit order is reversed."

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


More information about the llvm-commits mailing list