[PATCH] D118656: [instrprof][NFC] Refactor out the common logic for getProfileKind.
Snehasish Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 31 14:35:34 PST 2022
snehasish created this revision.
snehasish added a reviewer: mtrofin.
Herald added subscribers: ellis, hiraditya.
snehasish requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The logic for getProfileKind for RawInstrProfReader and
InstrProfReaderIndex is similar. To avoid duplication, move the logic
from the header to InstrProfReader.cpp and introduce a static method
which implements the common code.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118656
Files:
llvm/include/llvm/ProfileData/InstrProfReader.h
llvm/lib/ProfileData/InstrProfReader.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118656.404735.patch
Type: text/x-patch
Size: 3921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220131/7dd02ac4/attachment.bin>
More information about the llvm-commits
mailing list