- Add subtarget feature -mattr=+db which determine whether an ARM cpu has the
authorEvan Cheng <evan.cheng@apple.com>
Wed, 11 Aug 2010 06:22:01 +0000 (06:22 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 11 Aug 2010 06:22:01 +0000 (06:22 +0000)
commit11db068721d44fd5f9b0c2a3a4c90f813d2eae9c
tree7649fa37f8869eb5f872a3d73eb58587295b6cf1
parent3483acabf012b847b13b969ebd9ce5c4d16d9eb7
- Add subtarget feature -mattr=+db which determine whether an ARM cpu has the
  memory and synchronization barrier dmb and dsb instructions.
- Change instruction names to something more sensible (matching name of actual
  instructions).
- Added tests for memory barrier codegen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110785 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
test/CodeGen/Thumb/barrier.ll [new file with mode: 0644]
test/CodeGen/Thumb2/thumb2-barrier.ll [new file with mode: 0644]