This is an archive of the discontinued LLVM Phabricator instance.

[Hexagon] Check for underflow/wrap in hardware loop pass
ClosedPublic

Authored by bcahoon on May 12 2015, 11:59 AM.

Details

Reviewers
iajbar
sundeepk
Summary

If the loop trip count may underflow or wrap, the compiler should not generate a hardware loop since the trip count will be incorrect.

Diff Detail

Repository
rL LLVM

Event Timeline

bcahoon updated this revision to Diff 25607.May 12 2015, 11:59 AM
bcahoon retitled this revision from to [Hexagon] Check for underflow/wrap in hardware loop pass.
bcahoon updated this object.
bcahoon edited the test plan for this revision. (Show Details)
bcahoon added reviewers: sundeepk, iajbar.
bcahoon set the repository for this revision to rL LLVM.
bcahoon added a subscriber: Unknown Object (MLST).
iajbar accepted this revision.May 12 2015, 4:02 PM
iajbar edited edge metadata.
This revision is now accepted and ready to land.May 12 2015, 4:02 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r237365.