[PATCH] D25384: [ThinLTO] Record references to aliases to calls

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 22:36:30 PDT 2016


mehdi_amini added inline comments.


================
Comment at: lib/Analysis/ModuleSummaryAnalysis.cpp:116
         if (!CalledFunction->hasName() || CalledFunction->isIntrinsic())
           continue;
         auto ScaledCount = BFI ? BFI->getBlockProfileCount(&BB) : None;
----------------
What if we have an alias to an unnamed function?


https://reviews.llvm.org/D25384





More information about the llvm-commits mailing list