[PATCH] D53254: [Merge SImilar Function ThinLTO 5/n] Set up similar function to be imported
Brian Rzycki via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 15 09:50:22 PDT 2018
brzycki added a comment.
Hi @hiraditya , comments inline.
================
Comment at: lib/Transforms/IPO/FunctionImport.cpp:488
+ // TODO: Make hashing little more strict to have higher hit rate
+ auto &HostSimilarFunctions = Index.getHostSimilarFunction();
+ if (HostSimilarFunctions.empty())
----------------
ooh boy this is a dense section of code. Possibly consider refactoring into helper functions for readability?
https://reviews.llvm.org/D53254
More information about the llvm-commits
mailing list