[PATCH] D108008: [WIP][Attributor] AAHotCold Use CFG to propagate hot cold.

Kuter Dinel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 12 20:09:35 PDT 2021


kuter created this revision.
Herald added subscribers: ormris, okura, jdoerfert, uenoku, hiraditya.
Herald added a reviewer: uenoku.
Herald added a reviewer: homerdin.
kuter requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch makes it possible to propagate hot cold across basic
blocks with in the attributes. It relies on the BranchProbabilityInfo
to check if a edge is hot or cold.

The hot cold information is propagated both to successors and to
predecessors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108008

Files:
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108008.366168.patch
Type: text/x-patch
Size: 3867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210813/87f0a1bf/attachment.bin>


More information about the llvm-commits mailing list