[ARM] Replace ARMISD::RBIT with ISD::BITREVERSE
authorJames Molloy <james.molloy@arm.com>
Fri, 13 Nov 2015 16:05:22 +0000 (16:05 +0000)
committerJames Molloy <james.molloy@arm.com>
Fri, 13 Nov 2015 16:05:22 +0000 (16:05 +0000)
commitb5ab3ba365277d1d72307826586471f85ade7749
tree906702744b6e3f42be77a8771119c2eb462ee8bc
parentb2446842b94700fdb401696460ad47fde6a982af
[ARM] Replace ARMISD::RBIT with ISD::BITREVERSE

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253047 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSelectionDAG.td
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/rbit.ll