[PATCH] D69257: Outline non returning functions unless a longjmp

Ruijie Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 21:39:04 PDT 2020


rjf commandeered this revision.
rjf added a reviewer: hiraditya.
rjf added a comment.

Commandeering this revision as discussed with @hiraditya .



================
Comment at: llvm/lib/Transforms/IPO/HotColdSplitting.cpp:122
+        if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI))
+          return II->getIntrinsicID() != Intrinsic::longjmp;
+        CallSite CS(CI);
----------------
hiraditya wrote:
> TODO: if profile information is available, make use of that here.
add use of profile information.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69257





More information about the llvm-commits mailing list