ARM: fix more cases where predication may or may not be allowed
authorTim Northover <tnorthover@apple.com>
Wed, 26 Jun 2013 16:52:40 +0000 (16:52 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 26 Jun 2013 16:52:40 +0000 (16:52 +0000)
commitc19bd321362166805194cbaf170e06a4790d2da9
treeb3a213b067b0c0c3797077f5e24a57bb36265967
parentc1a91dd97b000128189421eda6c5bb7905b1f467
ARM: fix more cases where predication may or may not be allowed

Unfortunately this addresses two issues (by the time I'd disentangled the logic
it wasn't worth putting it back to half-broken):

+ Coprocessor instructions should all be predicable in Thumb mode.
+ BKPT should never be predicable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184965 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrFormats.td
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/basic-arm-instructions.s
test/MC/ARM/diagnostics.s
test/MC/ARM/thumb-only-conditionals.s
test/MC/ARM/thumb2-diagnostics.s