This is an archive of the discontinued LLVM Phabricator instance.

Codegen: Factor out canTailDuplicate
ClosedPublic

Authored by iteratee on Jul 13 2016, 3:35 PM.

Details

Reviewers
davidxl
Summary

canTailDuplicate accepts two blocks and returns true if the first can be
duplicated into the second successfully. Use this function to
encapsulate the current heuristic.

Diff Detail

Event Timeline

iteratee updated this revision to Diff 63872.Jul 13 2016, 3:35 PM
iteratee retitled this revision from to Codegen: Factor out canTailDuplicate.
iteratee updated this object.
iteratee added a reviewer: davidxl.
iteratee set the repository for this revision to rL LLVM.
iteratee added subscribers: echristo, timshen, llvm-commits.
davidxl accepted this revision.Jul 13 2016, 3:40 PM
davidxl edited edge metadata.

lgtm

This revision is now accepted and ready to land.Jul 13 2016, 3:40 PM
iteratee closed this revision.Jul 19 2016, 5:09 PM