[PATCH] D73221: [PGO] Attach appropriate funclet operand bundles to value profiling instrumentation calls
Christopher Chrulski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 12:51:28 PST 2020
chris.chrulski created this revision.
chris.chrulski added reviewers: llvm-commits, smeenai, rnk.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
When generating value profiling instrumentation, ensure the call gets the
correct funclet token, otherwise WinEHPrepare will turn the call (and all
subsequent instructions) into unreachable.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73221
Files:
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
llvm/test/Transforms/PGOProfile/indirect_call_profile_funclet.ll
llvm/test/Transforms/PGOProfile/memop_profile_funclet.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73221.239672.patch
Type: text/x-patch
Size: 10341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200122/0776ad28/attachment.bin>
More information about the llvm-commits
mailing list