[PlaceSafepoints] Switch to being a FunctionPass
authorPhilip Reames <listmail@philipreames.com>
Tue, 12 May 2015 21:21:18 +0000 (21:21 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 12 May 2015 21:21:18 +0000 (21:21 +0000)
commitfab55cf45f54ec0ca6ce53dbc633b66c58d6a0b3
tree03569137d0c0e56448e9c7f9efff063d67025698
parent9e2a6983695c1599ff91abaa4911fbfc5f189559
[PlaceSafepoints] Switch to being a FunctionPass

The pass doesn't actually modify the module outside of the function being processed. The only confusing piece is that it both inserts calls and then inlines the resulting calls. Given that, it definitely invalidates module level analysis results, but many FunctionPasses do that.

Differential Revision: http://reviews.llvm.org/D9590

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237185 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar.h
lib/Transforms/Scalar/PlaceSafepoints.cpp