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 65436a4 commit b2de3a9Copy full SHA for b2de3a9
llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
@@ -3560,7 +3560,7 @@ ModuleCallsiteContextGraph::getAllocationCallType(const CallInfo &Call) const {
3560
3561
AllocationType
3562
IndexCallsiteContextGraph::getAllocationCallType(const CallInfo &Call) const {
3563
- const auto *AI = dyn_cast<AllocInfo *>(Call.call());
+ const auto *AI = cast<AllocInfo *>(Call.call());
3564
assert(AI->Versions.size() > Call.cloneNo());
3565
return (AllocationType)AI->Versions[Call.cloneNo()];
3566
}
0 commit comments