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

Ruijie Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 09:02:50 PDT 2020


rjf updated this revision to Diff 282223.
rjf added a comment.

Check if function name equals `longjmp` when checking for blocks
including calls to longjmp; do not check for prefixes and suffixes
anymore, as it might cause potential problems in the future.

Also, eh_sjlj longjmp/setjmp calls will have an eh_sjlj intrinsic,
so the intrinsic check suffices.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69257

Files:
  llvm/lib/Transforms/IPO/HotColdSplitting.cpp
  llvm/test/Transforms/HotColdSplit/sjlj-nosplit.ll
  llvm/test/Transforms/HotColdSplit/sjlj-split.ll
  llvm/test/Transforms/HotColdSplit/split-assert-fail.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69257.282223.patch
Type: text/x-patch
Size: 12242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200731/6ae9cac3/attachment.bin>


More information about the llvm-commits mailing list