[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)
commit3352a58ddc6e2806d1a4a9bffebc01083c5b94b1
tree894519466331dc561f4c6abf1161a32b0af12344
parent40956e64f26a2ee37f799729884a8bddc3a72edf
[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.

llvm-svn: 213745
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/diagnostics.s