ARM: allow predicated barriers in Thumb mode
authorTim Northover <tnorthover@apple.com>
Wed, 26 Jun 2013 16:52:32 +0000 (16:52 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 26 Jun 2013 16:52:32 +0000 (16:52 +0000)
commitc1a91dd97b000128189421eda6c5bb7905b1f467
treedd1dd70c9d53514c279f692b3974b805eee764be
parentfce567aec90610e81e0b23968d8935ecf5b04505
ARM: allow predicated barriers in Thumb mode

The barrier instructions are only "always-execute" in ARM mode, they can quite
happily sit inside an IT block in Thumb.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184964 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/CodeGen/Thumb2/thumb2-branch.ll
test/MC/ARM/diagnostics.s
test/MC/ARM/thumb-only-conditionals.s [new file with mode: 0644]