]> git.ipfire.org Git - thirdparty/gcc.git/commit
ipa-sra: Dump edge summaries also for non-candidates
authorMartin Jambor <mjambor@suse.cz>
Tue, 22 Nov 2022 17:22:03 +0000 (18:22 +0100)
committerMartin Jambor <mjambor@suse.cz>
Tue, 22 Nov 2022 17:29:24 +0000 (18:29 +0100)
commit95489a2a279893bf2e0fbb3fb378bdfcf0212faf
tree6e04f35c561c2f09c89ed9a1f855705864eda891
parentfeeb0d68f1c7085199c3734e6517a3a4b58309ef
ipa-sra: Dump edge summaries also for non-candidates

This should have been part of r12-578-g717d278af93a4a.  Call edge
summaries provide information required for IPA-SRA transformations in
the callees but are generated when analyzing callers and thus also
callers which are not IPA-SRA candidates themselves.  Therefore we
analyze them but don't dump them, which makes the dumops quite
incomplete. This patch fixes that.

gcc/ChangeLog:

2021-12-14  Martin Jambor  <mjambor@suse.cz>

* ipa-sra.cc (ipa_sra_dump_all_summaries): Dump edge summaries even
for non-candidates.
gcc/ipa-sra.cc