[PATCH] D38086: [ThinLTO] Fix dead stripping analysis for SamplePGO
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 20 09:35:23 PDT 2017
tejohnson created this revision.
Herald added subscribers: eraman, inglorion, mehdi_amini.
The fix for dead stripping analysis in the case of SamplePGO indirect
calls to local functions (r313151) introduced the possibility of an
infinite loop.
Make sure we check for the value being already live after we update it
for SamplePGO indirect call handling.
https://reviews.llvm.org/D38086
Files:
lib/Transforms/IPO/FunctionImport.cpp
test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll
test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38086.116014.patch
Type: text/x-patch
Size: 5223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170920/3b07e488/attachment.bin>
More information about the llvm-commits
mailing list