This is an archive of the discontinued LLVM Phabricator instance.

[Hexagon] Use constant extenders to fix up hardware loops
ClosedPublic

Authored by bcahoon on Apr 24 2015, 11:41 AM.

Details

Summary

Use a loop instruction with a constant extender for a hardware loop instruction that is too far away from the start of the loop. This is cheaper than changing the SA register value.

Diff Detail

Repository
rL LLVM

Event Timeline

bcahoon updated this revision to Diff 24407.Apr 24 2015, 11:41 AM
bcahoon retitled this revision from to [Hexagon] Use constant extenders to fix up hardware loops.
bcahoon updated this object.
bcahoon edited the test plan for this revision. (Show Details)
bcahoon added reviewers: sundeepk, colinl.
bcahoon set the repository for this revision to rL LLVM.
bcahoon added a subscriber: Unknown Object (MLST).
sundeepk accepted this revision.Apr 24 2015, 12:10 PM
sundeepk edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Apr 24 2015, 12:10 PM
colinl accepted this revision.Apr 24 2015, 1:12 PM
colinl edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.