[PATCH 0/5] IPA ICF: more clean up
Martin Liska
mliska@suse.cz
Wed Nov 13 09:22:00 GMT 2019
Hi.
There's another series that brings yet another bunch of clean up
patches:
1) push/pop_cfun is overused, it is not needed
2) make dump reason more precise
3) Do not use custom hashing (add_expr, add_type) and use proper
func_checker::hash_operand that can be improved for the future.
4) hash FIELD_DECL offset information to improve hashing
5) update statistics about really needed symbols during merging
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
Thanks,
Martin
Martin Liska (5):
Do not overuse push/pop_cfun in IPA ICF.
Update dump message in IPA ICF.
Use func_checker::hash_operand for hashing of GIMPLE operands.
Handle FIELD_DECL in IPA ICF.
Update statistics about needed symbols in IPA ICF.
gcc/ipa-icf-gimple.c | 10 +-
gcc/ipa-icf-gimple.h | 11 ++
gcc/ipa-icf.c | 266 +++++++++----------------------------------
gcc/ipa-icf.h | 28 ++---
4 files changed, 86 insertions(+), 229 deletions(-)
--
2.24.0
More information about the Gcc-patches
mailing list