https://github.com/mizvekov approved this pull request. LGTM Nit: You dropped the FIXME about not profiling the canonical template arguments entirely. Could be helpful to add it back as long as it's reworded to be clear. https://github.com/llvm/llvm-project/pull/188421