ARM64: Extended addressing mode source reg is 64-bit.
authorJim Grosbach <grosbach@apple.com>
Mon, 21 Apr 2014 21:45:44 +0000 (21:45 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 21 Apr 2014 21:45:44 +0000 (21:45 +0000)
commitfa49d1ade646780df1e65815813f6236dc18e678
tree9bff80c607640da1e2dc92e98dfa48d5084cb143
parente1c0863d74f7995dd0890e35b585526457d118d5
ARM64: Extended addressing mode source reg is 64-bit.

The canonical form for the extended addressing mode (e.g.,
"[x1, w2, uxtw #3]" is for the MCInst to have the second register be the
full 64-bit GPR64 register class. The instruction printer cleans up
the output for display to show the 32-bit register instead, per the
specification.

This simplifies 205893 now that the aliasing is handled in the printer
in 206495 so that the codegen path and the disassembler path give the
same MCInst form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206797 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/Disassembler/ARM64Disassembler.cpp