Skip to content

Commit c481a57

Browse files
committed
[merge fix] Update lib/CodeGen/BranchFolding.cpp
1 parent af8d2a9 commit c481a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/BranchFolding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) {
165165

166166
// Update call site info.
167167
std::for_each(MBB->begin(), MBB->end(), [MF](const MachineInstr &MI) {
168-
if (MI.isCandidateForCallSiteEntry())
168+
if (MI.shouldUpdateCallSiteInfo())
169169
MF->eraseCallSiteInfo(&MI);
170170
});
171171
// Remove the block.

0 commit comments

Comments
 (0)