[PATCH] Add helper functions in Statepoint.h to handle invoke statepoints.
Igor Laevsky
igor at azulsystems.com
Wed Feb 11 03:21:20 PST 2015
Ping?
REPOSITORY
rL LLVM
================
Comment at: include/llvm/IR/Statepoint.h:32
@@ -28,2 +31,3 @@
bool isStatepoint(const Instruction *inst);
bool isStatepoint(const Instruction &inst);
+bool isStatepoint(const Value *inst);
----------------
reames wrote:
> If we have the versions that take Value's, why do we need versions which take Instructions? Shouldn't the later match the former?
Because in case if we will pass Instruction* it will be converted into ImmutableCallSite instead of the Value*. Anyway on a second thought I figured out nicer way to express this in the code - check updated diff.
http://reviews.llvm.org/D7364
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list