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 ac42dbb commit 65436a4Copy full SHA for 65436a4
llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
@@ -3542,7 +3542,7 @@ void ModuleCallsiteContextGraph::updateAllocationCall(
3542
3543
void IndexCallsiteContextGraph::updateAllocationCall(CallInfo &Call,
3544
AllocationType AllocType) {
3545
- auto *AI = dyn_cast<AllocInfo *>(Call.call());
+ auto *AI = cast<AllocInfo *>(Call.call());
3546
assert(AI);
3547
assert(AI->Versions.size() > Call.cloneNo());
3548
AI->Versions[Call.cloneNo()] = (uint8_t)AllocType;
0 commit comments