mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Use the latest MachineRegisterInfo APIs. No functionality.
llvm-svn: 161010
This commit is contained in:
parent
e2a84de962
commit
2773dbddf3
@ -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