[RewriteStatepointsForGC] Avoid inserting empty holder
authorPhilip Reames <listmail@philipreames.com>
Mon, 13 Apr 2015 19:07:47 +0000 (19:07 +0000)
committerPhilip Reames <listmail@philipreames.com>
Mon, 13 Apr 2015 19:07:47 +0000 (19:07 +0000)
commit7bea98826a5f50f3c331d7937434139e269e95cd
tree5804e70d202896d62048214380891e9cefc658b4
parent8ca57e685e7452487232c6e12c2e9a76ee3f4638
[RewriteStatepointsForGC] Avoid inserting empty holder

We use dummy calls to adjust the liveness of values over statepoints in the midst of the insertion.  If there are no values which need held live, there's no point in actually inserting the holder.

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