This is an archive of the discontinued LLVM Phabricator instance.

[Hexagon] Handle ENDLOOP0 in InsertBranch and RemoveBranch
ClosedPublic

Authored by kparzysz on Mar 18 2015, 8:55 AM.

Details

Reviewers
djasper
kparzysz
Summary

Properly insert and remove ENDLOOP0 in HexagonInstrInfo.

Diff Detail

Event Timeline

kparzysz updated this revision to Diff 22192.Mar 18 2015, 8:55 AM
kparzysz retitled this revision from to [Hexagon] Handle ENDLOOP0 in InsertBranch and RemoveBranch.
kparzysz updated this object.
kparzysz edited the test plan for this revision. (Show Details)
kparzysz set the repository for this revision to rL LLVM.
kparzysz added subscribers: djasper, Unknown Object (MLST).
kparzysz accepted this revision.Mar 18 2015, 9:00 AM
kparzysz added a reviewer: kparzysz.

Committed in r232643.

This revision is now accepted and ready to land.Mar 18 2015, 9:00 AM
djasper accepted this revision.Mar 18 2015, 9:03 AM
djasper added a reviewer: djasper.

Minor style comment. Otherwise looks good.

lib/Target/Hexagon/HexagonInstrInfo.cpp
326–329

LLVM style generally does not indent the case labels.

Do you think that these switches are really more readable? They seem a lot longer...

To me they do look more readable, but I've been writing them like that for a long time. I'll keep the LLVM style in mind next time.

kparzysz added inline comments.Mar 18 2015, 9:10 AM
lib/Target/Hexagon/HexagonInstrInfo.cpp
326–329

Lack of phabricator skill. I replied in the top-level comments instead of here.

djasper closed this revision.Mar 19 2015, 3:41 AM

Submitted as r232643.