This is an archive of the discontinued LLVM Phabricator instance.

LegalizeDAG: Implement PROMOTE for ISD::BITREVERSE
ClosedPublic

Authored by tstellarAMD on Oct 3 2016, 11:23 AM.

Details

Summary

This operation is promoted the same way was ISD::BSWAP. This will
prevent a regression in test/Target/AMDGOU/bitreverse.ll when i16
support is implemented.

Event Timeline

tstellarAMD retitled this revision from to LegalizeDAG: Implement PROMOTE for ISD::BITREVERSE.
tstellarAMD updated this object.
tstellarAMD added a reviewer: bogner.
tstellarAMD added a subscriber: llvm-commits.
hfinkel accepted this revision.Oct 3 2016, 11:30 AM
hfinkel added a reviewer: hfinkel.
hfinkel added a subscriber: hfinkel.

LGTM

This revision is now accepted and ready to land.Oct 3 2016, 11:30 AM
This revision was automatically updated to reflect the committed changes.