[PATCH] D15762: [Statepoints] Refactor GCRelocateOperands into an intrinsic wrapper. NFC.
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 4 15:34:34 PST 2016
reames accepted this revision.
reames added a comment.
This revision is now accepted and ready to land.
LGTM. Thanks again for the cleanup!
================
Comment at: lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:1650
@@ -1649,2 +1649,3 @@
continue;
+ GCRelocateInst *Relocate = cast<GCRelocateInst>(U);
----------------
minor: the normal idiom is to dyn_cast, then check for null.
http://reviews.llvm.org/D15762
More information about the llvm-commits
mailing list