Disable the load/store optimization pass for Thumb-1.
authorJames Molloy <james.molloy@arm.com>
Thu, 12 Jun 2014 15:18:33 +0000 (15:18 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 12 Jun 2014 15:18:33 +0000 (15:18 +0000)
commit5eba90a861ff19cc2c49c7074565541978cfc83f
tree3e7ee0647a1fcfb486ce4d480c95a966963ac2af
parent1f4c755c2cb31f5b812734428a28bb11fd27639a
Disable the load/store optimization pass for Thumb-1.

Moritz's changes have improved codegen a lot, but further testing showed significant correctness problems. Disable by default until these have been worked out.

Patch by Moritz Roth!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210789 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMTargetMachine.cpp
test/CodeGen/Thumb/2014-06-10-thumb1-ldst-opt-bug.ll
test/CodeGen/Thumb/dyn-stackalloc.ll
test/CodeGen/Thumb/thumb-ldm.ll
test/CodeGen/Thumb/thumb-memcpy-ldm-stm.ll