Index: llvm/include/llvm/IR/IntrinsicInst.h =================================================================== --- llvm/include/llvm/IR/IntrinsicInst.h +++ llvm/include/llvm/IR/IntrinsicInst.h @@ -1350,7 +1350,8 @@ class InstrProfIncrementInst : public InstrProfInstBase { public: static bool classof(const IntrinsicInst *I) { - return I->getIntrinsicID() == Intrinsic::instrprof_increment; + return I->getIntrinsicID() == Intrinsic::instrprof_increment || + I->getIntrinsicID() == Intrinsic::instrprof_increment_step; } static bool classof(const Value *V) { return isa(V) && classof(cast(V));