Refactor the disabling of Thumb-1 LDM/STM generation
authorJames Molloy <james.molloy@arm.com>
Mon, 16 Jun 2014 16:42:53 +0000 (16:42 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 16 Jun 2014 16:42:53 +0000 (16:42 +0000)
commit408519765b1c8e8a09e4a6028839f323119fbd86
tree5f3a887e5486fcfe1963366ee03cec1da55df45c
parent7f2f94faeb04e0f97990d9d941745a630aaa5a54
Refactor the disabling of Thumb-1 LDM/STM generation

Originally I switched the LD/ST optimizer off in TargetMachine as it was previously, but Eric has suggested he'd prefer that it be short-circuited in the pass itself.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211037 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
lib/Target/ARM/ARMTargetMachine.cpp