This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Remove Duplicate Code in InstCombineShift
ClosedPublic

Authored by suyog on Jun 11 2014, 2:48 AM.

Details

Summary

Remove duplicate code from "InstCombineShift".

This is already being handled in "SimplifyAShrInst".

No regression observed. No functionality change.

Please help in reviewing this code.

Thanks,
Suyog

Diff Detail

Event Timeline

suyog updated this revision to Diff 10317.Jun 11 2014, 2:48 AM
suyog retitled this revision from to [InstCombine] Remove Duplicate Code in InstCombineShift.
suyog updated this object.
suyog edited the test plan for this revision. (Show Details)
suyog added reviewers: rafael, majnemer, bkramer.
suyog added a subscriber: Unknown Object (MLST).
suyog added a comment.Jun 17 2014, 5:34 AM

Gentle Ping !!

nicholas accepted this revision.Jun 18 2014, 12:19 AM
nicholas added a reviewer: nicholas.
nicholas added a subscriber: nicholas.

LGTM, good catch! Please commit!

This revision is now accepted and ready to land.Jun 18 2014, 12:19 AM
suyog added a comment.Jun 18 2014, 3:29 AM

Thanks Nick.
Please if you could commit it for me.

Thanks for reviewing all the patches.
Will shortly update the other 3 patches.

Thanks,
Suyog

suyog closed this revision.Jun 18 2014, 9:41 PM

Committed as r211250 by Nick.

Thanks!