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)
commit2c45a383a8289f16207faec0b21efe4aa8ae32fc
treec20af6c356a8f087d1b334dc22a46c5e5dd77fac
parent52f77f5cda047842d23868871227e32843afc9f2
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.

llvm-svn: 184965
llvm/lib/Target/ARM/ARMInstrFormats.td
llvm/lib/Target/ARM/ARMInstrInfo.td
llvm/lib/Target/ARM/ARMInstrThumb2.td
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/basic-arm-instructions.s
llvm/test/MC/ARM/diagnostics.s
llvm/test/MC/ARM/thumb-only-conditionals.s
llvm/test/MC/ARM/thumb2-diagnostics.s