https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68930
--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> --- The information is consumed by ipcp_transform_function, so you can take a look. It is stored in ipcp_get_transformation_summary I think it is just matter of not freeing it (assuming it is freed after cloning is done) and using it from GVN