This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Replace ARMISD::RBIT with ISD::BITREVERSE
ClosedPublic

Authored by jmolloy on Nov 13 2015, 5:07 AM.

Details

Summary

ISD::BITREVERSE matches "rbit" completely, so remove ARMISD::RBIT and mark ISD::BITREVERSE as legal, adding a test for lowering.

Diff Detail

Repository
rL LLVM

Event Timeline

jmolloy updated this revision to Diff 40140.Nov 13 2015, 5:07 AM
jmolloy retitled this revision from to [ARM] Replace ARMISD::RBIT with ISD::BITREVERSE.
jmolloy updated this object.
jmolloy set the repository for this revision to rL LLVM.
jmolloy added a subscriber: llvm-commits.
mcrosier accepted this revision.Nov 13 2015, 5:27 AM
mcrosier edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 13 2015, 5:27 AM
jmolloy closed this revision.Dec 12 2015, 5:36 AM

r253047.