commit | 8bed6c968fd7164222bc0cf4b86686c88381c3b8 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Feb 07 09:17:36 2007 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Feb 07 09:17:36 2007 +0000 |
tree | c967ead91f7545288d52af859502893637d9a7e4 | |
parent | 1f253d6e97f6be21210d03b748c07954313605e3 [diff] |
In thumb mode, R3 is reserved, but it can be live in to the function. If that is the case, whenever we use it as a scratch register, save it to R12 first and then restore it after the use. This is a temporary and truly horrible workaround! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33999 91177308-0d34-0410-b5e6-96231b3b80d8