This is an archive of the discontinued LLVM Phabricator instance.

TailDuplication: Extract Indirect-Branch block limit as option. NFC
ClosedPublic

Authored by iteratee on Aug 29 2016, 2:53 PM.

Details

Reviewers
davidxl
Summary

The existing code hard-coded a limit of 20 instructions for duplication
when a block ended with an indirect branch. Extract this as an option.
No functional change intended.

Diff Detail

Event Timeline

iteratee updated this revision to Diff 69618.Aug 29 2016, 2:53 PM
iteratee retitled this revision from to TailDuplication: Extract Indirect-Branch block limit as option. NFC.
iteratee updated this object.
iteratee added a reviewer: davidxl.
iteratee set the repository for this revision to rL LLVM.
iteratee added a subscriber: llvm-commits.
davidxl accepted this revision.Aug 30 2016, 9:36 AM
davidxl edited edge metadata.

lgtm

This revision is now accepted and ready to land.Aug 30 2016, 9:36 AM
iteratee closed this revision.Aug 30 2016, 4:30 PM

Committed in r280125