[PATCH] D85257: [X86] Optimize getImpliedDisabledFeatures & getImpliedEnabledFeatures'

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 17:00:03 PDT 2020


craig.topper added a comment.

In D85257#2194952 <https://reviews.llvm.org/D85257#2194952>, @nickdesaulniers wrote:

> I suspect `setFeatureEnabled` is being called for every global.

Can you check how often ASTContext::getFunctionFeatureMap is called. I think most of these calls should originate through that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85257/new/

https://reviews.llvm.org/D85257



More information about the llvm-commits mailing list