This is an archive of the discontinued LLVM Phabricator instance.

[Hexagon] Remove dead constant assignment in hardware loop pass
ClosedPublic

Authored by bcahoon on May 12 2015, 2:11 PM.

Details

Summary

After converting a loop to a hardware loop, the pass should remove any unnecessary instructions from the old compare-and-branch code. This patch removes a dead constant assignment that was used in the compare instruction.

Diff Detail

Repository
rL LLVM

Event Timeline

bcahoon updated this revision to Diff 25623.May 12 2015, 2:11 PM
bcahoon retitled this revision from to [Hexagon] Remove dead constant assignment 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, 2:51 PM
iajbar edited edge metadata.
This revision is now accepted and ready to land.May 12 2015, 2:51 PM
This revision was automatically updated to reflect the committed changes.