[llvm] [nfc][InstrFDO]Encapsulate header writes in a class member function (PR #90142)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu May 16 19:07:11 PDT 2024
================
@@ -788,12 +805,12 @@ Error InstrProfWriter::writeImpl(ProfOStream &OS) {
// Now do the final patch:
PatchItem PatchItems[] = {
// Patch the Header.HashOffset field.
- {HashTableStartFieldOffset, &HashTableStart, 1},
+ {BackPatchStartOffset, &HashTableStart, 1},
----------------
kazutakahirata wrote:
Likewise, I suggest grouping these fields.
https://github.com/llvm/llvm-project/pull/90142
More information about the llvm-commits
mailing list