This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Generalize shl combine
ClosedPublic

Authored by arsenm on Jan 15 2016, 7:37 PM.

Details

Reviewers
tstellarAMD
Summary

Reduce 64-bit shl with constant > 32. We already special cased
this for the == 32 case, but this also works for any >= 32 constant.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 45066.Jan 15 2016, 7:37 PM
arsenm retitled this revision from to AMDGPU: Generalize shl combine.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Jan 18 2016, 7:43 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jan 18 2016, 7:43 AM
arsenm closed this revision.Jan 18 2016, 1:59 PM

r258092