commit | 1665b0a2246c83a2c123be105a1a167cf2b423fe | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Tue Feb 16 17:24:15 2010 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Tue Feb 16 17:24:15 2010 +0000 |
tree | 7bca9009cad0a7bc170db0b663a71f4947d09dcf | |
parent | 47c5188789bc40671504ed1fa3a44765cefba44f [diff] |
Fix pr6111: Avoid using the LR register for the target address of an indirect branch in ARM v4 code, since it gets clobbered by the return address before it is used. Instead of adding a new register class containing all the GPRs except LR, just use the existing tGPR class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96360 91177308-0d34-0410-b5e6-96231b3b80d8