Skip to content

Commit 6275a07

Browse files
committed
Address feedback
1 parent 4ed0b5f commit 6275a07

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/lib/CodeGen/MachineInstr.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,10 @@ void MachineInstr::setExtraInfo(MachineFunction &MF,
360360
}
361361

362362
bool MachineInstr::jumpToIRBlockAddressTaken() const {
363-
return llvm::all_of(getParent()->successors(), [](const auto *Succ) {
364-
return Succ->isIRBlockAddressTaken();
365-
});
363+
return llvm::all_of(getParent()->successors(),
364+
[](const MachineBasicBlock *Succ) {
365+
return Succ->isIRBlockAddressTaken();
366+
});
366367
}
367368

368369
void MachineInstr::dropMemRefs(MachineFunction &MF) {

0 commit comments

Comments
 (0)