This is an archive of the discontinued LLVM Phabricator instance.

Codegen: IfConversion: Factor out a function to count dup instrs.
ClosedPublic

Authored by iteratee on Jul 25 2016, 10:51 AM.

Details

Reviewers
davidxl
Summary

Factor out countDuplicatedInstructions to Count duplicated instructions at the
beginning and end of a diamond pattern. This is in prep for adding support for
diamonds that need to be tail-merged.

Diff Detail

Event Timeline

iteratee updated this revision to Diff 65378.Jul 25 2016, 10:51 AM
iteratee retitled this revision from to Codegen: IfConversion: Factor out a function to count dup instrs..
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.
iteratee updated this revision to Diff 65382.Jul 25 2016, 10:59 AM
iteratee removed rL LLVM as the repository for this revision.

Add blank line between functions.

davidxl accepted this revision.Jul 26 2016, 1:08 PM
davidxl edited edge metadata.

lgtm

This revision is now accepted and ready to land.Jul 26 2016, 1:08 PM
iteratee closed this revision.Jul 27 2016, 5:08 PM