[PATCH] D142747: [Pseudo Probe] Do not instrument EH blocks.
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 09:25:53 PST 2023
hoy created this revision.
Herald added subscribers: ormris, modimo, wenlei, hiraditya.
Herald added a project: All.
hoy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This change avoids inserting probes to EH blocks. The main benefit is to reduce IR size which in turn could mitigate the exponential IR growth cause by certain optimizations such as jump threading. Pseudo probe has a nature of blocking
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142747
Files:
llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h
llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
llvm/test/Transforms/SampleProfile/pseudo-probe-eh.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142747.492803.patch
Type: text/x-patch
Size: 4459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230127/e6999517/attachment.bin>
More information about the llvm-commits
mailing list