This is an archive of the discontinued LLVM Phabricator instance.

GVN-hoist: use DFS numbers instead of walking the instruction stream
ClosedPublic

Authored by sebpop on Jul 26 2016, 7:24 AM.

Details

Summary

The patch replaces a function that walks the IR with a call to firstInBB() that uses the DFS numbering.

Diff Detail

Repository
rL LLVM

Event Timeline

sebpop updated this revision to Diff 65513.Jul 26 2016, 7:24 AM
sebpop retitled this revision from to GVN-hoist: use DFS numbers instead of walking the instruction stream.
sebpop updated this object.
sebpop added reviewers: dberlin, majnemer.
sebpop added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.