[PATCH] D13304: Avoid inlining in throw statement
Jun Bum Lim via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 30 12:36:04 PDT 2015
junbuml created this revision.
junbuml added reviewers: hfinkel, mcrosier, reames, ashutosh.nema, majnemer.
junbuml added subscribers: gberry, cfe-commits.
It might be reasonably to avoid inlining CallSites invoked in
exception handling context so that we can reduce code size blow-up in
EH regions as well as indirectly increase inline opportunites for unwinding
functions containing exception handling code.
In this change, the NoInline attribute is added in CallSites
invoked specifically by the throw statement.
http://reviews.llvm.org/D13304
Files:
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGException.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/throw-expressions.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13304.36136.patch
Type: text/x-patch
Size: 4489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150930/3842c8bc/attachment.bin>
More information about the cfe-commits
mailing list