[PATCH] D109976: [CSSPGO] Tweakes to lower pseudo probe runtime overhead

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 17 09:49:44 PDT 2021


hoy added a comment.

In D109976#3006549 <https://reviews.llvm.org/D109976#3006549>, @wenlei wrote:

> ltgm, thanks for the fix.
>
>> Allow general default attributes (nofree nosync nounwind) for pseudo probe intrinsic.
>
> Can you expand in this commit message to also explain what problem this caused and fixed -- containing function cannot have these attribute.

Summary updated.



================
Comment at: llvm/lib/Analysis/ModuleSummaryAnalysis.cpp:282
     for (const Instruction &I : BB) {
-      if (isa<DbgInfoIntrinsic>(I))
+      if (I.isDebugOrPseudoInst())
         continue;
----------------
wenlei wrote:
> Perhaps we should audit the use of DbgInfoIntrinsic to see if there're others that should be changed
Good point. Will do.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109976



More information about the llvm-commits mailing list