[all-commits] [llvm/llvm-project] e62c21: [ProfileData] Simplify calls to readNext in readBi...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sat Jun 8 14:03:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e62c2146aa9a195c219b3585eb36c6987857c1bb
https://github.com/llvm/llvm-project/commit/e62c2146aa9a195c219b3585eb36c6987857c1bb
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-08 (Sat, 08 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[ProfileData] Simplify calls to readNext in readBinaryIdsInternal (NFC) (#94862)
readNext has two variants:
- readNext<uint64_t, endian>(ptr)
- readNext<uint64_t>(ptr, endian)
This patch uses the latter to simplify readBinaryIdsInternal. Both
forms default to unaligned.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list