[mips][msa] Fix suboptimal FrameIndex lowering for ld.[hwd] and st.[hwd]
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 9 Dec 2013 11:50:16 +0000 (11:50 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 9 Dec 2013 11:50:16 +0000 (11:50 +0000)
commit897268d931a84872d88ad05b18027b6b9723e03e
tree5ee17d0f78f0abb1c8c9173f31d96805453da865
parent84744f691666de0e9da311ad668e4d1f93c5efe9
[mips][msa] Fix suboptimal FrameIndex lowering for ld.[hwd] and st.[hwd]

Summary:
The immediate in these instructions is scaled before use as an offset.
They therefore have a wider reach than ld.b/st.b.

Reviewers: matheusalmeida

Reviewed By: matheusalmeida

Differential Revision: http://llvm-reviews.chandlerc.com/D2338

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196775 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsSERegisterInfo.cpp
test/CodeGen/Mips/msa/frameindex.ll