[mips][msa] Correct sld and sldi builtins.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 10 Dec 2013 11:37:00 +0000 (11:37 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 10 Dec 2013 11:37:00 +0000 (11:37 +0000)
commitdafdc8076572ff1dc26893eb50906936702420c2
tree0e2d2b1580c22c1ba05d6cf8cf599d05a09a8b9e
parent3aabdebde23415b488c9b8f4f470ab3e0ec81176
[mips][msa] Correct sld and sldi builtins.

Summary: The result register of these instructions is also the first operand.

Reviewers: jacksprat, dsanders

Reviewed By: dsanders

Differential Revision: http://llvm-reviews.chandlerc.com/D2362
Differential Revision: http://llvm-reviews.chandlerc.com/D2363

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196910 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsMips.td
lib/Target/Mips/MipsMSAInstrInfo.td
test/CodeGen/Mips/msa/3r-s.ll
test/CodeGen/Mips/msa/elm_shift_slide.ll