Avoid some 's' 16-bit instruction which partially update CPSR
authorBob Wilson <bob.wilson@apple.com>
Tue, 19 Apr 2011 18:11:49 +0000 (18:11 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 19 Apr 2011 18:11:49 +0000 (18:11 +0000)
commit5dde893c2bac9e1569c38429f756c1d723e8edf2
treec50cc65135cde589cb7ccb40f829b18e1c9b3454
parentf6a4d3c2f3e1029af252a0f6999edfa3c2f326ee
Avoid some 's' 16-bit instruction which partially update CPSR
(and add false dependency) when it isn't dependent on last CPSR defining
instruction. rdar://8928208

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129773 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/ARM/Thumb2SizeReduction.cpp
test/CodeGen/ARM/avoid-cpsr-rmw.ll [new file with mode: 0644]