[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)
commit9f12904ec9cc88051525064f020d11ba6ee71937
tree1e39122f544e3029f2b56a0b1faf0d3da7b99009
parentbefa1380d23aa81b1596ad378a165877451982d3
[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

llvm-svn: 237180
llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp