[PATCH] D147286: [FS-AFDO] Assign discriminators to pseudo probes

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 17:37:47 PDT 2023


hoy created this revision.
Herald added subscribers: modimo, wenlei, pengfei, hiraditya.
Herald added a project: All.
hoy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

With pseudo probes, we do not assign FS discriminators to any other instructions. This is to reduce hash conflicts. Also call instructions are excluded since their dwarf discriminators are used for other purposes, i.e, storing probe ids.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147286

Files:
  llvm/lib/CodeGen/MIRFSDiscriminator.cpp
  llvm/test/CodeGen/X86/fsafdo_probe.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147286.509864.patch
Type: text/x-patch
Size: 5256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230331/1fc0d7a9/attachment.bin>


More information about the llvm-commits mailing list