ARM extend instructions simplification.
authorJim Grosbach <grosbach@apple.com>
Wed, 27 Jul 2011 16:47:19 +0000 (16:47 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 27 Jul 2011 16:47:19 +0000 (16:47 +0000)
commitc5a8c861c9f008d777f5da6a77c253fea2bfe2f1
tree909ea828b87c5893f965c316fac968fcd1a444e9
parentffcc2a542c13b698848f38c56a13cdac388c65ab
ARM extend instructions simplification.

Refactor the SXTB, SXTH, SXTB16, UXTB, UXTH, and UXTB16 instructions to not
have an 'r' and an 'r_rot' version, but just a single version with a rotate
that can be zero. Use plain Pat<>'s for the ISel of the non-rotated version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136225 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/Thumb2SizeReduction.cpp