This is an archive of the discontinued LLVM Phabricator instance.

[ExecutionDepsFix] Don't revisit true dependencies
ClosedPublic

Authored by loladiro on Feb 20 2017, 10:17 AM.

Details

Summary

If an instruction has a true dependency, it makes sense for to use that
register for any undef read operands in the same instruction (we'll have
to wait for that register to become available anyway). This logic
was already implemented. However, the code would then still try to
revisit that instruction and break the dependency (and always fail,
since by definition a true dependency has to be live before the
instruction). Avoid revisiting such instructions as a performance
optimization. No functional change.

Diff Detail

Repository
rL LLVM

Event Timeline

loladiro created this revision.Feb 20 2017, 10:17 AM
myatsina accepted this revision.Feb 22 2017, 7:49 AM
This revision is now accepted and ready to land.Feb 22 2017, 7:49 AM
This revision was automatically updated to reflect the committed changes.