This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Skip copies in addUseDef and addDefUses
ClosedPublic

Authored by Petar.Avramovic on Jul 10 2019, 6:48 AM.

Details

Summary

Skip copies between virtual registers during search for UseDefs
and DefUses.
Since each operand has one def search for UseDefs is straightforward.
But since operand can have many uses, we have to check all uses of
each copy we traverse during search for DefUses.

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Jul 10 2019, 11:11 PM
This revision was automatically updated to reflect the committed changes.