Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/LivePhysRegs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ bool llvm::isPhysRegUsedAfter(Register Reg, MachineBasicBlock::iterator MBI) {
// If we hit the end of the block, check whether Reg is live into a
// successor.
for (const auto &LO : MBB->liveouts())
if (LO.PhysReg == MCRegister(Reg) && LO.LaneMask.any())
if (LO.PhysReg == Reg.asMCReg() && LO.LaneMask.any())
return true;

return false;
Expand Down
Loading