Skip to content

Commit e51732a

Browse files
committed
Remove FIXME as it turned out that there is nothing to fix
1 parent b7cfe8b commit e51732a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/CodeGen/ScheduleDAGInstrs.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,6 @@ void ScheduleDAGInstrs::addPhysRegDataDeps(SUnit *SU, unsigned OperIdx) {
275275
bool ImplicitPseudoUse = false;
276276
SDep Dep;
277277
if (UseOpIdx < 0) {
278-
// FIXME: UseOpIdx passed to computeOperandLatency below should be
279-
// non-negative. Currently a negative value is passed if UseOpIdx < 0
280-
// and ImplicitPseudoDef is false. This could be fixed by setting
281-
// ImplicitPseudoUse to true here (which is probably the right thing
282-
// to do), but this crashes Hexagon backend and causes many test
283-
// changes that need investigation.
284278
Dep = SDep(SU, SDep::Artificial);
285279
} else {
286280
// Set the hasPhysRegDefs only for physreg defs that have a use within

0 commit comments

Comments
 (0)