OSDN Git Service

[ARM] Make the assembler reject unpredictable pre/post-indexed ARM STR instructions.
authorTilmann Scheller <t.scheller@samsung.com>
Wed, 23 Jul 2014 12:38:17 +0000 (12:38 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Wed, 23 Jul 2014 12:38:17 +0000 (12:38 +0000)
commit0f7b2e9db0e35b27ed8b3b44259e59ca69d12798
tree5642b7ba459aaa1070611aceac4c8885a0fef9b9
parent9231148e693177e922cf98eca6a146e648e29d0b
[ARM] Make the assembler reject unpredictable pre/post-indexed ARM STR instructions.

The ARM ARM prohibits STR instructions with writeback into the source register. With this commit this constraint is now enforced and we stop assembling STR instructions with unpredictable behavior.

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