[all-commits] [llvm/llvm-project] a06e94: [ProfileData] Remove getHostEndianness (NFC)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Oct 5 21:31:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a06e94cf3b375cdfd81f42f60e16ce0c3783ff4a
https://github.com/llvm/llvm-project/commit/a06e94cf3b375cdfd81f42f60e16ce0c3783ff4a
Author: Kazu Hirata <kazu at google.com>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[ProfileData] Remove getHostEndianness (NFC)
With the recent redefinition of llvm::endianness::native, it is equal
to either llvm::endianness::big or llvm::endianness::little depending
on the host endianness. Since getHostEndianness just returns
llvm::endianness::native, this patch removes the function and
"constant propagates" llvm::endianness:native.
More information about the All-commits
mailing list