Remove duplicated DMB instructions
authorRenato Golin <renato.golin@linaro.org>
Wed, 2 Apr 2014 09:03:43 +0000 (09:03 +0000)
committerRenato Golin <renato.golin@linaro.org>
Wed, 2 Apr 2014 09:03:43 +0000 (09:03 +0000)
commit421397ac00b2a83a74c78685aa22e3b640d898aa
tree112e503ddd14ce124a12476406ef8fb06258ab76
parent9ee14e3522921233bdd3881e044ef87f1fea968e
Remove duplicated DMB instructions

ARM specific optimiztion, finding places in ARM machine code where 2 dmbs
follow one another, and eliminating one of them.

Patch by Reinoud Elhorst.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205409 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.h
lib/Target/ARM/ARMOptimizeBarriersPass.cpp [new file with mode: 0644]
lib/Target/ARM/ARMTargetMachine.cpp
lib/Target/ARM/CMakeLists.txt
test/CodeGen/ARM/optimize-dmbs-v7.ll [new file with mode: 0644]