mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
Use the latest MachineRegisterInfo APIs. No functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0492a8c530
commit
8b5704f958
@ -414,7 +414,7 @@ void ScheduleDAGInstrs::addVRegDefDeps(SUnit *SU, unsigned OperIdx) {
|
||||
// Singly defined vregs do not have output/anti dependencies.
|
||||
// The current operand is a def, so we have at least one.
|
||||
// Check here if there are any others...
|
||||
if (llvm::next(MRI.def_begin(Reg)) == MRI.def_end())
|
||||
if (MRI.hasOneDef(Reg))
|
||||
return;
|
||||
|
||||
// Add output dependence to the next nearest def of this vreg.
|
||||
|
Loading…
Reference in New Issue
Block a user