[PATCH] D158442: [Propeller] Introduce the path cloning profile format to BasicBlockSectionsProfileReader.
Rahman Lavaee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 21 11:00:23 PDT 2023
rahmanl created this revision.
rahmanl added reviewers: tmsriram, shenhan.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
rahmanl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The basic block cloning profile format changes the propeller profile in two ways.
1. Specifies the cloning paths with a "!!!" prefix. For example, !!!1 4 5 specifies that blocks with BB ids 4 and 5 must be cloned along the edge 1->4.
2. For each cloned block, it will appear in the cluster info as <bb_id>.<clone_id> where clone_id is the path id associated with this clone.
For example, the following profile specifies one cloned block (2) and determines its cluster position as well.
!foo
!!!1 2
!!0 1 2.1 3 2 5
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158442
Files:
llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h
llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp
llvm/test/CodeGen/X86/basic-block-sections-clusters-error.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158442.552081.patch
Type: text/x-patch
Size: 17802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230821/abe9c488/attachment.bin>
More information about the llvm-commits
mailing list