[RewriteStatepointsForGC] Minor code cleanup [NFC]
authorPhilip Reames <listmail@philipreames.com>
Tue, 21 Jul 2015 00:49:55 +0000 (00:49 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 21 Jul 2015 00:49:55 +0000 (00:49 +0000)
commit052b66199df12988ddb5ba4df4bbbd637a4204b5
tree895e0ba305918ec3f8cc0be78f0744a6c2e87357
parenta571970098b987f93d0b1ff4c81e76bea32629de
[RewriteStatepointsForGC] Minor code cleanup [NFC]

We can use builders to simplify part of the code and we only check for the existance of the metadata value; this enables us to delete some redundant code.

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