mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 18:20:39 +00:00
Clarify some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60683 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -918,7 +918,7 @@ bool LiveIntervals::isReMaterializable(const LiveInterval &li,
|
|||||||
MachineRegisterInfo::def_iterator I = mri_->def_begin(Reg),
|
MachineRegisterInfo::def_iterator I = mri_->def_begin(Reg),
|
||||||
E = mri_->def_end();
|
E = mri_->def_end();
|
||||||
|
|
||||||
// For the def, it should be the only def.
|
// For the def, it should be the only def of that register.
|
||||||
if (MO.isDef() && (next(I) != E || IsLiveIn))
|
if (MO.isDef() && (next(I) != E || IsLiveIn))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@@ -931,7 +931,7 @@ bool LiveIntervals::isReMaterializable(const LiveInterval &li,
|
|||||||
else if (Reg != ImpUse)
|
else if (Reg != ImpUse)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// For uses, there should be only one associate def.
|
// For the use, there should be only one associated def.
|
||||||
if (I != E && (next(I) != E || IsLiveIn))
|
if (I != E && (next(I) != E || IsLiveIn))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user