Add @earlyclobber constraints to the writeback register of all ARM store instructions.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 12 Apr 2011 23:27:48 +0000 (23:27 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 12 Apr 2011 23:27:48 +0000 (23:27 +0000)
commit836a7de15907e0368f7785684f156764ea6b7069
treebfdf8a616185473581d2fa9fc5bd88733f1bed09
parent8e98de9979fa08dac650bc6ae884e809da2cfdaa
Add @earlyclobber constraints to the writeback register of all ARM store instructions.

The ARMARM specifies these instructions as unpredictable when storing the
writeback register. This shouldn't affect code generation much since storing a
pointer to itself is quite rare.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129409 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td