invalid-LDR_PRE-arm.txt was already passing, but for the wrong reasons. We were...
authorOwen Anderson <resistor@mac.com>
Fri, 26 Aug 2011 20:43:14 +0000 (20:43 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 26 Aug 2011 20:43:14 +0000 (20:43 +0000)
commit9ab0f25fc194b4315db1b87d38d4024054120bf6
tree415f40669177f77045f724420e3833804b710e5d
parentae5ea6cab040003f565775b132d243157b25a152
invalid-LDR_PRE-arm.txt was already passing, but for the wrong reasons.  We were failing to specify enough fixed bits of LDR_PRE/LDRB_PRE, resulting in decoding conflicts.  Separate them into immediate vs. register versions, allowing us to specify the necessary fixed bits.  This in turn results in the test being decoded properly, and being rejected as UNPREDICTABLE rather than a hard failure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138653 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
test/MC/Disassembler/ARM/invalid-LDR_PRE-arm.txt