Skip to content

Commit b2de3a9

Browse files
Update llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Co-authored-by: Nikita Popov <[email protected]>
1 parent 65436a4 commit b2de3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3560,7 +3560,7 @@ ModuleCallsiteContextGraph::getAllocationCallType(const CallInfo &Call) const {
35603560

35613561
AllocationType
35623562
IndexCallsiteContextGraph::getAllocationCallType(const CallInfo &Call) const {
3563-
const auto *AI = dyn_cast<AllocInfo *>(Call.call());
3563+
const auto *AI = cast<AllocInfo *>(Call.call());
35643564
assert(AI->Versions.size() > Call.cloneNo());
35653565
return (AllocationType)AI->Versions[Call.cloneNo()];
35663566
}

0 commit comments

Comments
 (0)