[PATCH] D15289: Avoid inlining CallSites leading to unreachable

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 9 10:09:20 PST 2015


junbuml updated this revision to Diff 42312.
junbuml added a comment.

Addressed Hal's comment. So, I made an exception for main() and added a test. 
Thanks Hal for the review.


http://reviews.llvm.org/D15289

Files:
  include/llvm/Transforms/IPO/InlinerPass.h
  lib/Transforms/IPO/Inliner.cpp
  test/Transforms/Inline/inline_unreachable.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15289.42312.patch
Type: text/x-patch
Size: 10312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151209/2d312423/attachment.bin>


More information about the llvm-commits mailing list