[PlaceSafepoints] Make internal helper pass a FunctionPass
authorPhilip Reames <listmail@philipreames.com>
Tue, 12 May 2015 21:09:36 +0000 (21:09 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 12 May 2015 21:09:36 +0000 (21:09 +0000)
commitfc9309b63fd399a1498f9158f110882e950b4be9
tree61a2fc5935e8daffa4f4163868cc3b52be00b744
parentfc6fbeda2d8f4206ad5a8ea15a140721677b8cbb
[PlaceSafepoints] Make internal helper pass a FunctionPass

Switch from using a LoopPass to using a FunctionPass for the internal helper analysis pass. The next step is going to be to make this a true analysis pass which is required by the PlaceSafepoints pass itself.

p.s. The interesting semantic part here is that we're changing the iteration order over the loops. It shouldn't matter, but that's the reason to separate this into it's own distinct patch.

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

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