commit | 4e53fe8dc61ad48650ac6fe30d7268ec92b7fc1a | [log] [tgz] |
---|---|---|
author | Jim Grosbach <grosbach@apple.com> | Thu Apr 05 20:57:13 2012 +0000 |
committer | Jim Grosbach <grosbach@apple.com> | Thu Apr 05 20:57:13 2012 +0000 |
tree | bd37da01517027fc8147c5ac488d4a91a5862917 | |
parent | ba9536a3c613f80585a078e64aa9c35abb8003fa [diff] |
ARM assembly aliases for add negative immediates using sub. 'add r2, #-1024' should just use 'sub r2, #1024' rather than erroring out. Thumb1 aliases for adding a negative immediate to the stack pointer, also. rdar://11192734 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154123 91177308-0d34-0410-b5e6-96231b3b80d8