OSDN Git Service

[ARM] Error for invalid shift in memory operand
authorOliver Stannard <oliver.stannard@arm.com>
Tue, 24 Oct 2017 14:19:08 +0000 (14:19 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Tue, 24 Oct 2017 14:19:08 +0000 (14:19 +0000)
commit60da1ac8d3295256a56573b74c0a131958db1c82
tree9713691e40a84e1ddf9f99b670c3ff0d8ca22069
parentc89087d28c0e3ec89ffb8d25c6d364fd8527328d
[ARM] Error for invalid shift in memory operand

Report a diagnostic when we fail to parse a shift in a memory operand because
the shift type is not an identifier. Without this, we were silently ignoring
the whole instruction.

Differential revision: https://reviews.llvm.org/D39237

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316441 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/diagnostics.s