OSDN Git Service

[ARM64] Re-work parsing of ADD/SUB shifted immediate operands
authorBradley Smith <bradley.smith@arm.com>
Thu, 8 May 2014 15:39:58 +0000 (15:39 +0000)
committerBradley Smith <bradley.smith@arm.com>
Thu, 8 May 2014 15:39:58 +0000 (15:39 +0000)
commit0d2a5d26f2c3be6a15b198205990070de3899d47
tree65cdf846aa3e38893a28207a4387676cab1dc905
parent4f83e2ca5dfdf149e920942a4f143c5864fcaec5
[ARM64] Re-work parsing of ADD/SUB shifted immediate operands

The parsing of ADD/SUB shifted immediates needs to be done explicitly so
that better diagnostics can be emitted, as a side effect this also
removes some of the hacks in the current method of handling this operand
type.

Additionally remove manual CMP aliasing to ADD/SUB and use InstAlias
instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208329 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/ARM64InstrFormats.td
lib/Target/ARM64/ARM64InstrInfo.td
lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp