This is an archive of the discontinued LLVM Phabricator instance.

GVN-hoist: compute DFS numbers once
ClosedPublic

Authored by sebpop on Aug 1 2016, 10:17 AM.

Details

Summary

With this patch we compute the DFS numbers of instructions only once and update them during the code generation when an instruction gets hoisted.
Passes check and test-suite on x86_64-linux.

Diff Detail

Event Timeline

sebpop updated this revision to Diff 66339.Aug 1 2016, 10:17 AM
sebpop retitled this revision from to GVN-hoist: compute DFS numbers once.
sebpop updated this object.
sebpop added a reviewer: dberlin.
sebpop added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.