[ARM64] Tighten up the special casing in emitting arithmetic extends. UXTW should...
authorBradley Smith <bradley.smith@arm.com>
Wed, 9 Apr 2014 14:44:03 +0000 (14:44 +0000)
committerBradley Smith <bradley.smith@arm.com>
Wed, 9 Apr 2014 14:44:03 +0000 (14:44 +0000)
commit86c067813ca1e49a6076366b52b15eb48c88052e
tree3873cfb2eceece127252ac9bad5e6ac12b4ac01c
parent5a09ce9ad1b9521e8d0989145d179dfb0e85dbde
[ARM64] Tighten up the special casing in emitting arithmetic extends. UXTW should only be translated when the instruction uses WSP, not SP. Vice versa for UXTX and 64-bit instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205886 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
test/MC/ARM64/arithmetic-encoding.s