[PATCH] [Inliner] Teach LLVM to inline through statepoints.
Sanjoy Das
sanjoy at playingwithpointers.com
Thu Jun 25 20:00:20 PDT 2015
Hi reames, pgavlin, swaroop.sridhar,
After this change, LLVM can inline through through some calls / invokes
wrapped in `gc_statepoint`. The cost analysis pass does not currently
grok statepoints. We only inline through a gc_statepoint if the call is
alwaysinline.
Depends on D10631
Previously was split into D10632 and D10633.
http://reviews.llvm.org/D10758
Files:
include/llvm/IR/CallSite.h
lib/Analysis/IPA/InlineCost.cpp
lib/Transforms/IPO/InlineAlways.cpp
lib/Transforms/IPO/Inliner.cpp
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/statepoints-basic.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10758.28531.patch
Type: text/x-patch
Size: 15478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150626/5873e90f/attachment.bin>
More information about the llvm-commits
mailing list