[PATCH] [Inlining][NFC] Introduce a InlineFunction that takes a Statepoint.

Sanjoy Das sanjoy at playingwithpointers.com
Thu Jun 25 19:13:41 PDT 2015


- have `InlineSite` dispatch over `Statepoint` and `CallSite` using a macro.
- make the PlaceSafepoints pass use this new functionality in `InlineFunction` to have a mode where it does not inline the `gc.safepoint_poll` function by itself, but does it via the AlwaysInliner pass.


http://reviews.llvm.org/D10632

Files:
  include/llvm/Transforms/Utils/Cloning.h
  lib/Transforms/Scalar/PlaceSafepoints.cpp
  lib/Transforms/Utils/InlineFunction.cpp
  test/Transforms/PlaceSafepoints/basic.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10632.28527.patch
Type: text/x-patch
Size: 10572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150626/11634219/attachment.bin>


More information about the llvm-commits mailing list