mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
Comment from code review
llvm-svn: 151178
This commit is contained in:
parent
3703a1917a
commit
8827848788
@ -362,6 +362,7 @@ void ScheduleDAGInstrs::addVRegDefDeps(SUnit *SU, unsigned OperIdx) {
|
||||
unsigned Reg = MI->getOperand(OperIdx).getReg();
|
||||
|
||||
// SSA defs do not have output/anti dependencies.
|
||||
// The current operand is a def, so we have at least one.
|
||||
if (llvm::next(MRI.def_begin(Reg)) == MRI.def_end())
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user