diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-06-29 23:25:04 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-06-29 23:25:04 +0000 |
commit | a8a8067dec5f44abae94badd58f38f95165ed3c1 (patch) | |
tree | 59bea3cff51bf3f0df0eef37a21b0e707a8507c7 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 9f4cc4645b566fb87f1345f9a1b2d061225710ad (diff) | |
download | bcm5719-llvm-a8a8067dec5f44abae94badd58f38f95165ed3c1.tar.gz bcm5719-llvm-a8a8067dec5f44abae94badd58f38f95165ed3c1.zip |
Remove redundant Thumb2 ADD/SUB SP instruction definitions.
Unlike Thumb1, Thumb2 does not have dedicated encodings for adjusting the
stack pointer. It can just use the normal add-register-immediate encoding
since it can use all registers as a source, not just R0-R7. The extra
instruction definitions are just duplicates of the normal instructions with
the (not well enforced) constraint that the source register was SP.
llvm-svn: 134114
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
0 files changed, 0 insertions, 0 deletions