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

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 06:37:11 PDT 2020


hiraditya marked an inline comment as done.
hiraditya added inline comments.


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


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

https://reviews.llvm.org/D69257





More information about the llvm-commits mailing list