[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)
commitf388050105fe2be2414b6ec3ca6bf3b816047208
tree04dd8b732e304419dae26a4bb3e5900526ae0092
parent4a628bb9e1519071e87bee3a4562b60bf61f9fd8
[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.

llvm-svn: 242751
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp