This is an archive of the discontinued LLVM Phabricator instance.

Refactor: Simplify boolean conditional return statements in lib/Target/R600
AbandonedPublic

Authored by LegalizeAdulthood on May 25 2015, 1:36 AM.

Details

Summary

Use clang-tidy to simplify boolean conditional return statements

Diff Detail

Event Timeline

LegalizeAdulthood retitled this revision from to Refactor: Simplify boolean conditional return statements in lib/Target/R600.
LegalizeAdulthood updated this object.
LegalizeAdulthood edited the test plan for this revision. (Show Details)
LegalizeAdulthood added a subscriber: Unknown Object (MLST).
craig.topper added inline comments.May 25 2015, 2:35 AM
lib/Target/R600/R600InstrInfo.cpp
916

Push the negate through.

lib/Target/R600/R600Packetizer.cpp
215

Push the negate through

lib/Target/R600/R600InstrInfo.cpp
916

Fixed.

lib/Target/R600/R600Packetizer.cpp
215

Fixed.

Update from comments, clang-format

tstellarAMD accepted this revision.Jul 30 2015, 5:34 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jul 30 2015, 5:34 PM

I do not have commit access, so someone else will need to commit this. Let me know if it needs rebasing.

Patch by Richard Thomson.

LegalizeAdulthood abandoned this revision.Mar 2 2016, 9:38 AM

Discarding due to inaction by reviewers.

arsenm edited edge metadata.Mar 2 2016, 3:06 PM

r262536 with fixups for trunk