We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ced328 commit ff789efCopy full SHA for ff789ef
llvm/include/llvm/IR/IntrinsicInst.h
@@ -1536,7 +1536,7 @@ class InstrProfCallsite : public InstrProfCntrInstBase {
1536
static bool canInstrumentCallsite(const CallBase &CB) {
1537
return !CB.isInlineAsm() &&
1538
(CB.isIndirectCall() ||
1539
- (CB.getCalledFunction() && !CB.getCalledFunction()->isIntrinsic()));
+ (CB.getIntrinsicID() == Intrinsic::not_intrinsic));
1540
}
1541
LLVM_ABI Value *getCallee() const;
1542
LLVM_ABI void setCallee(Value *Callee);
0 commit comments